Commits

Anonymous committed 9c4033e

Make application settings more alphabetical.

  • Participants
  • Parent commits 64afcc8

Comments (0)

Files changed (2)

File akhet/paster_templates/akhet/development.ini_tmpl

 cache.long_term.expire = 3600
 mako.directories = {{package}}:templates
 mako.strict_undefined = true
-{{if sqlalchemy}}
-sqlalchemy.url = sqlite:///%(here)s/db.sqlite
-{{endif}}
 session.type = file
 session.data_dir = %(here)s/data/sessions/data
 session.lock_dir = %(here)s/data/sessions/lock
 session.key = {{project}}
 session.secret = {{random_string}}
+{{if sqlalchemy}}
+sqlalchemy.url = sqlite:///%(here)s/db.sqlite
+{{endif}}
 
 
 [pipeline:main]

File akhet/paster_templates/akhet/production.ini_tmpl

 [app:myapp]
 use = egg:{{project}}
 reload_templates = false
+debug_authorization = false
+debug_notfound = false
+debug_routematch = false
+debug_templates = false
+default_locale_name = en
 cache.regions = default_term, second, short_term, long_term
 cache.type = memory
 cache.second.expire = 1
 cache.short_term.expire = 60
 cache.default_term.expire = 300
 cache.long_term.expire = 3600
-debug_authorization = false
-debug_notfound = false
-debug_routematch = false
-debug_templates = false
-default_locale_name = en
 mako.directories = {{package}}:templates
 mako.strict_undefined = true
-{{if sqlalchemy}}
-sqlalchemy.url = sqlite:///%(here)s/db.sqlite
-{{endif}}
 session.type = file
 session.data_dir = %(here)s/data/sessions/data
 session.lock_dir = %(here)s/data/sessions/lock
 session.key = {{project}}
 session.secret = {{random_string}}
+{{if sqlalchemy}}
+sqlalchemy.url = sqlite:///%(here)s/db.sqlite
+{{endif}}
 
 
 [filter:weberror]