Permalink
Browse files

The templating.mako.reoadfromdisk option has been merged into the aut…

…o_reload_templates option to get on pair with the other template engines
  • Loading branch information...
1 parent cd4e933 commit ccfd9fbccc28416028689505b4394feb42d507f1 @amol- amol- committed Apr 11, 2012
Showing with 4 additions and 12 deletions.
  1. +4 −12 devtools/templates/turbogears/development.ini_tmpl
@@ -37,6 +37,10 @@ beaker.session.type = cookie
beaker.session.validate_key = {{cookiesecret}}
# Disable template autoreload to boost performances in production
+# WARNING: if you want to deploy your application using a zipped egg
+# (ie: if your application's setup.py defines zip-safe=True, then you
+# MUST put "false" for the production environment because there will
+# be no disk and real files to compare time with.
#auto_reload_templates = false
# If you'd like to fine-tune the individual locations of the cache data dirs
@@ -70,18 +74,6 @@ ming.db = {{package}}
# output. Change to html or xml, as desired.
templating.genshi.method = xhtml
-# if you are using Mako and want to be able to reload
-# the mako template from disk during the development phase
-# you should say 'true' here
-# This option is only used for mako templating engine
-# WARNING: if you want to deploy your application using a zipped egg
-# (ie: if your application's setup.py defines zip-safe=True, then you
-# MUST put "false" for the production environment because there will
-# be no disk and real files to compare time with.
-# On the contrary if your application defines zip-safe=False and is
-# deployed in an unzipped manner, then you can leave this option to true
-templating.mako.reloadfromdisk = true
-
# the compiled template dir is a directory that must be readable by your
# webserver. It will be used to store the resulting templates once compiled
# by the TemplateLookup system.

0 comments on commit ccfd9fb

Please sign in to comment.