From 5cfd4fef5297a239a032160797a87f7d1190cf78 Mon Sep 17 00:00:00 2001 From: Branson Stephens <stephenb@uwm.edu> Date: Tue, 21 May 2013 14:37:06 -0500 Subject: [PATCH] added debug toolbar --- settings/branson.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/settings/branson.py b/settings/branson.py index 1f9a81d18..9cdb2cf62 100644 --- a/settings/branson.py +++ b/settings/branson.py @@ -58,3 +58,33 @@ TEMPLATE_DIRS = ( # Don't forget to use absolute paths, not relative paths. "/home/branson/gracedbdev/templates", ) + +MIDDLEWARE_CLASSES = [ + 'middleware.accept.AcceptMiddleware', + 'middleware.cli.CliExceptionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'ligodjangoauth.LigoShibbolethMiddleware', + 'gracedb.middleware.auth.LigoAuthMiddleware', + 'debug_toolbar.middleware.DebugToolbarMiddleware', +] + +INSTALLED_APPS = ( + 'django.contrib.auth', + 'django.contrib.admin', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.staticfiles', + 'gracedb', + 'userprofile', + 'rest_framework', + 'south', + 'debug_toolbar', +) + +INTERNAL_IPS = ( + '129.89.61.55', +) -- GitLab