Added django debug toolbar to development settings
This commit is contained in:
parent
4d41db4192
commit
afcd702cec
|
@ -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',)
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
django-debug-toolbar==0.9.4
|
||||
-r ../requirements.pip
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue