summaryrefslogtreecommitdiff
path: root/sublab_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/settings.py')
-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'