~patrick-hetu/charms/precise/python-django/pure-python

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Patrick Hetu
  • Date: 2014-05-02 16:00:17 UTC
  • Revision ID: patrick.hetu@gmail.com-20140502160017-sy34kiq3tft12pig
fix a wrong configuration variable name

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
    process_template('allowed_hosts.tmpl', {'allowed_hosts': allowed}, dst)
322
322
 
323
323
    dst = os.path.join(settings_dir_path, '40-debug.py')
324
 
    debug = config_data.get('DEBUG', False)
 
324
    debug = config_data.get('django_debug', False)
325
325
    process_template('debug.tmpl', {'debug': debug}, dst)
326
326
 
327
327
    if 'django_extra_settings' in config_data: