summaryrefslogtreecommitdiff
path: root/sublab_project
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2012-01-06 09:25:30 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2012-01-06 09:25:30 +0100
commit138e0e1cd53f7609845c9b1e6da0472c30d5a564 (patch)
tree75c7d28478a79945cefc000556a7753cfd9a1b22 /sublab_project
parent91b9f450d932796682e49776d09f60ee7a162375 (diff)
Updated django-debug-toolbar and moved to settings.py.
Udpated to 0.9.1. Moved configuration to settings.py to make it work with flatpages app.
Diffstat (limited to 'sublab_project')
-rw-r--r--sublab_project/settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sublab_project/settings.py b/sublab_project/settings.py
index c879044..d92bf5b 100644
--- a/sublab_project/settings.py
+++ b/sublab_project/settings.py
@@ -101,6 +101,7 @@ TEMPLATE_LOADERS = (
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
@@ -130,6 +131,7 @@ INSTALLED_APPS = (
# 'django.contrib.admindocs',
'django.contrib.flatpages',
'south',
+ 'debug_toolbar',
'gunicorn',
'news',
'projects',
@@ -173,6 +175,12 @@ LOGGING = {
}
}
+INTERNAL_IPS = ('127.0.0.1')
+
+DEBUG_TOOLBAR_CONFIG = {
+ 'INTERCEPT_REDIRECTS': False,
+}
+
AUTH_PROFILE_MODULE = 'accounts.UserProfile'
AUTH_LDAP_SERVER_URI = 'ldap://oberon.local.sublab.org'