From 69bf7b497eed6b0f2903ef416d0c5fd646729dfd Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Sun, 19 May 2013 13:10:02 +0200 Subject: [PATCH] Get djang-debug-toolbar into the demo --- example/example/settings.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/example/example/settings.py b/example/example/settings.py index 2b7e450..6de83ad 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -156,3 +156,19 @@ LOGGING = { ADMIN2_THEME_DIRECTORY = "admin2/bootstrap/" + + +########## TOOLBAR CONFIGURATION +# See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation +INSTALLED_APPS += ( + 'debug_toolbar', +) + +# See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation +INTERNAL_IPS = ('127.0.0.1',) + +# See: https://github.com/django-debug-toolbar/django-debug-toolbar#installation +MIDDLEWARE_CLASSES += ( + 'debug_toolbar.middleware.DebugToolbarMiddleware', +) +########## END TOOLBAR CONFIGURATION