Added django debug toolbar to development settings

This commit is contained in:
Felipe Martín 2013-05-30 11:00:19 +02:00
parent 4d41db4192
commit afcd702cec
3 changed files with 13 additions and 2 deletions

View File

@ -19,3 +19,9 @@ DATABASES = {
TEMPLATE_CONTEXT = [
('app_version', '[local development]'),
]
INSTALLED_APPS = INSTALLED_APPS + ('debug_toolbar', )
MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1',)

View File

@ -1 +1,2 @@
django-debug-toolbar==0.9.4
-r ../requirements.pip

View File

@ -140,10 +140,14 @@ GRAPPELLI_ADMIN_TITLE = 'Minecraft Codex'
AUTOCOMPLETE_LIMIT = 10
# Jingo
EXCLUDE_APPS = (
JINGO_EXCLUDE_APPS = (
'admin',
'debug_toolbar', # If installed
'admindocs',
'registration',
'context_processors',
'debug_toolbar',
)
JINJA_CONFIG = {
'autoescape': True
}