Skip to content

Commit

Permalink
Remove duplicate debug setting from deployment.ini_tmpl
Browse files Browse the repository at this point in the history
deployement.ini_tmpl had debug = true at the top and then set debug =
false further down was overriding it. Set debug only once. Also since
this is deployment.ini_tmpl make the default debug = false and tell
people to set it true for development, not vice-versa.
  • Loading branch information
Sean Hammond committed Oct 10, 2012
1 parent 06285bb commit edde347
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ckan/config/deployment.ini_tmpl
Expand Up @@ -4,7 +4,12 @@
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true

# Change debug to true when doing CKAN development, it enables Pylons'
# interactive debugging tool, makes Fanstatic serve unminified JS and CSS
# files, and enables CKAN templates' debugging features.
debug = false

email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
Expand Down Expand Up @@ -32,11 +37,6 @@ ckan.plugins = stats
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions

# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
set debug = false

# Specify the database for SQLAlchemy to use:
# * Postgres is currently required for a production CKAN deployment
# * Sqlite (memory or file) can be used as a quick alternative for testing
Expand Down

0 comments on commit edde347

Please sign in to comment.