Added django debug toolbar to development settings
This commit is contained in:
parent
4d41db4192
commit
afcd702cec
|
@ -19,3 +19,9 @@ DATABASES = {
|
||||||
TEMPLATE_CONTEXT = [
|
TEMPLATE_CONTEXT = [
|
||||||
('app_version', '[local development]'),
|
('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
|
-r ../requirements.pip
|
||||||
|
|
|
@ -140,10 +140,14 @@ GRAPPELLI_ADMIN_TITLE = 'Minecraft Codex'
|
||||||
AUTOCOMPLETE_LIMIT = 10
|
AUTOCOMPLETE_LIMIT = 10
|
||||||
|
|
||||||
# Jingo
|
# Jingo
|
||||||
EXCLUDE_APPS = (
|
JINGO_EXCLUDE_APPS = (
|
||||||
'admin',
|
'admin',
|
||||||
'debug_toolbar', # If installed
|
'admindocs',
|
||||||
|
'registration',
|
||||||
|
'context_processors',
|
||||||
|
'debug_toolbar',
|
||||||
)
|
)
|
||||||
|
|
||||||
JINJA_CONFIG = {
|
JINJA_CONFIG = {
|
||||||
'autoescape': True
|
'autoescape': True
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue