Changeset 9368


Ignore:
Timestamp:
Jul 12, 2011, 7:32:35 AM (13 years ago)
Author:
rick
Message:

Disable debugging by default, causing it to flow much faster. If the file debug-active is found, it is enabled again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/settings.py

    r9358 r9368  
    88
    99
    10 DEBUG = True
     10DEBUG = os.path.exists(PROJECT_HOME + '/debug-active')
    1111TEMPLATE_DEBUG = DEBUG
     12
     13print DEBUG
    1214
    1315if DEBUG and not os.path.exists(OSM_CACHE_DIR):
     
    1820
    1921ADMINS = (
    20      ('Example Admin', 'admin@example.org'),
     22     ('Rick van der Zwet', 'info@rickvanderzwet.nl'),
    2123)
    2224
Note: See TracChangeset for help on using the changeset viewer.