Added django-debug-toolbar to assit with profiling

This commit is contained in:
2010-10-18 15:43:47 +01:00
parent 0700d25b3b
commit 7232045aed
2 changed files with 4 additions and 0 deletions

View File

@@ -7,3 +7,4 @@ xmlrpclib==1.0.1
South==0.7.1
fabric==0.9.1
flup
django-debug-toolbar==0.8.3

View File

@@ -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',