summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-04-17 01:04:38 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-04-17 01:04:38 +0200
commit047553969107f011e11ed2ff7d8dbad91b53a5ec (patch)
treee0d2254a5ea5bcce8a30bf22e640b80b81381d08 /example_project
parent28598acd1cded15041594710bdef0191415e8ced (diff)
downloadChimère-047553969107f011e11ed2ff7d8dbad91b53a5ec.tar.bz2
Chimère-047553969107f011e11ed2ff7d8dbad91b53a5ec.zip
settings.py reorganization
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py20
1 files changed, 3 insertions, 17 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index bed2540..8bbf3b4 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -5,6 +5,9 @@
import os
+DEBUG = False
+TEMPLATE_DEBUG = DEBUG
+
# Django settings for chimere project.
PROJECT_NAME = u'Chimère'
ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"
@@ -78,9 +81,6 @@ CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
CHIMERE_OSM_USER = 'test'
CHIMERE_OSM_PASSWORD = 'test'
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
-
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
@@ -102,11 +102,6 @@ DATABASES = {
import djcelery
djcelery.setup_loader()
BROKER_URL = 'django://'
-#BROKER_HOST = "localhost"
-#BROKER_PORT = 5672
-#BROKER_USER = "guest"
-#BROKER_PASSWORD = "guest"
-#BROKER_VHOST = "/"
# Local time zone for this installation. Choices can be found here:
# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
@@ -249,15 +244,6 @@ LOGGING = {'version': 1,
},
}
-TEMPLATE_CONTEXT_PROCESSORS = (
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'django.core.context_processors.media',
- 'django.core.context_processors.static',
- 'django.contrib.auth.context_processors.auth',
- 'django.contrib.messages.context_processors.messages',
-)
-
try:
from local_settings import *
except ImportError, e: