Changeset 2402 for package_branches/invirt-web/cherrypy
- Timestamp:
- Aug 9, 2009, 6:45:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/view.py
r2399 r2402 30 30 31 31 def __call__(self, filename, directories, module_directory=None, 32 collection_size=-1, content_type='text/html; charset=utf-8'): 32 collection_size=-1, content_type='text/html; charset=utf-8', 33 imports=[]): 33 34 # Find the appropriate template lookup. 34 35 key = (tuple(directories), module_directory) … … 42 43 input_encoding='utf-8', 43 44 output_encoding='utf-8', 45 imports=imports, 44 46 ) 45 47 self.lookups[key] = lookup
Note: See TracChangeset
for help on using the changeset viewer.