Commits

Anonymous committed f4c6289

Set Mako's 'strict_undefined' option in the app template.

Comments (0)

Files changed (3)

 - Fix but that may have prevented create_db.py from finding the INI stanza.
 - 100% test coverage contributed by Chris McDonough.
 - Delete unneeded development code in static.py.
+- Set Mako's 'strict_undefined' option in the application template.
 
 1.0rc1  (2010-01-26)
 --------------------

pyramid_sqla/paster_templates/pyramid_sqla/development.ini_tmpl

 debug_templates = true
 default_locale_name = en
 mako.directories = {{package}}:templates
+mako.strict_undefined = true
 sqlalchemy.url = sqlite:///%(here)s/db.sqlite
 session.type = file
 session.data_dir = %(here)s/data/sessions/data

pyramid_sqla/paster_templates/pyramid_sqla/production.ini_tmpl

 debug_templates = false
 default_locale_name = en
 mako.directories = {{package}}:templates
+mako.strict_undefined = true
 sqlalchemy.url = sqlite:///%(here)s/db.sqlite
 session.type = file
 session.data_dir = %(here)s/data/sessions/data