Changeset 4383
- Timestamp:
- 04/13/08 11:22:03 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/ToolBox2/trunk/toolbox2/config/environment.py
r4382 r4383 29 29 static_files=os.path.join(root, 'public'), 30 30 templates=[os.path.join(root, 'templates')]) 31 32 # If you'd like to change the default template engine used to render33 # text/html content, edit these options.34 template_engine = 'genshi'35 template_engine_options = {}36 31 37 32 # Initialize config with the basic options … … 47 42 #config['pylons.h'] = {{package}}.lib.helpers 48 43 49 # If you'd like to change the default template engine used to render50 # text/html content, edit these options.51 template_engine = 'genshi'52 template_engine_options = {}53 54 44 # Setup SQLAlchemy database engine 55 45 engine = engine_from_config(config, 'sqlalchemy.') … … 60 50 metadata.bind = engine 61 51 52 # If you'd like to change the default template engine used to render 53 # text/html content, edit these options. 54 template_engine = 'genshi' 55 template_engine_options = {} 62 56 config['buffet.template_engines'].pop() 63 57 config.add_template_engine(template_engine, '${package}.templates',