Get djang-debug-toolbar into the demo

This commit is contained in:
Daniel Greenfeld 2013-05-19 13:10:02 +02:00
parent 46af37a008
commit 69bf7b497e

View file

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