diff --git a/config/development/local_settings.py b/config/development/local_settings.py index b80b532..a15c50e 100644 --- a/config/development/local_settings.py +++ b/config/development/local_settings.py @@ -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',) diff --git a/config/development/requirements.pip b/config/development/requirements.pip index 487f151..43af5eb 100644 --- a/config/development/requirements.pip +++ b/config/development/requirements.pip @@ -1 +1,2 @@ +django-debug-toolbar==0.9.4 -r ../requirements.pip diff --git a/minecraftcodex/herobrine/settings.py b/minecraftcodex/herobrine/settings.py index 8ce36d0..005e8d9 100644 --- a/minecraftcodex/herobrine/settings.py +++ b/minecraftcodex/herobrine/settings.py @@ -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 }