diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-31 02:54:24 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-31 02:54:24 +0100 |
commit | 840ba25d00adfc92cea6fdb5663d420678ad5190 (patch) | |
tree | 02fd4781ac8bc7db9512715312b67060800f4f86 | |
parent | 109b46d129216247e0ad2138981441705d603730 (diff) | |
download | Chimère - projet Saclay-840ba25d00adfc92cea6fdb5663d420678ad5190.tar.bz2 Chimère - projet Saclay-840ba25d00adfc92cea6fdb5663d420678ad5190.zip |
Dajngo extensions option in config
-rw-r--r-- | settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.py b/settings.py index 02f63ac..480e5cd 100644 --- a/settings.py +++ b/settings.py @@ -10,6 +10,7 @@ _ = lambda s: s DEBUG = False TEMPLATE_DEBUG = DEBUG MOBILE_TEST = False +DJANGO_EXTENSIONS = False # Django settings for chimere project. PROJECT_NAME = u'Chimère' @@ -286,6 +287,9 @@ try: except ImportError, e: print 'Unable to load local_settings.py:', e +if DJANGO_EXTENSIONS: + INSTALLED_APPS.append('django_extensions') + LOGGING['handlers']['logfile']['filename'] = LOGFILENAME if 'CHIMERE_SHARE_NETWORKS' not in globals(): |