diff --git a/requirements.txt b/requirements.txt index 0d31274..8a0d958 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ xmlrpclib==1.0.1 South==0.7.1 fabric==0.9.1 flup +django-debug-toolbar==0.8.3 diff --git a/settings.py b/settings.py index 1c85ea3..20a7015 100755 --- a/settings.py +++ b/settings.py @@ -4,6 +4,7 @@ import os DEBUG = True TEMPLATE_DEBUG = DEBUG +INTERNAL_IPS = ('127.0.0.1','91.121.180.45') ADMINS = ( ('Andrew Williams', 'andy@tensixtyone.com'), @@ -59,6 +60,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'debug_toolbar.middleware.DebugToolbarMiddleware', ) ROOT_URLCONF = 'urls' @@ -77,6 +79,7 @@ INSTALLED_APPS = ( 'south', 'piston', 'registration', + 'debug_toolbar', 'eve_proxy', 'eve_api', 'reddit',