Changeset 2673 for package_branches/invirt-web/cherrypy-rebased
- Timestamp:
- Dec 20, 2009, 9:44:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/view.py
r2670 r2673 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.