Changeset 4383

Show
Ignore:
Timestamp:
04/13/08 11:22:03 (9 months ago)
Author:
fredlin
Message:

update environment.py

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/ToolBox2/trunk/toolbox2/config/environment.py

    r4382 r4383  
    2929                 static_files=os.path.join(root, 'public'), 
    3030                 templates=[os.path.join(root, 'templates')]) 
    31  
    32     # If you'd like to change the default template engine used to render 
    33     # text/html content, edit these options. 
    34     template_engine = 'genshi' 
    35     template_engine_options = {} 
    3631   
    3732    # Initialize config with the basic options 
     
    4742    #config['pylons.h'] = {{package}}.lib.helpers 
    4843 
    49     # If you'd like to change the default template engine used to render 
    50     # text/html content, edit these options. 
    51     template_engine = 'genshi' 
    52     template_engine_options = {} 
    53  
    5444    # Setup SQLAlchemy database engine 
    5545    engine = engine_from_config(config, 'sqlalchemy.') 
     
    6050    metadata.bind = engine 
    6151 
     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 = {} 
    6256    config['buffet.template_engines'].pop() 
    6357    config.add_template_engine(template_engine, '${package}.templates',