Add the debug template context processor and INTERNAL_IPS with default value to the base settings file

This commit is contained in:
Roberto Rosario
2014-10-11 02:27:15 -04:00
parent 486e7c77b0
commit 6bcc74fe35
3 changed files with 2 additions and 10 deletions
-4
View File
@@ -7,8 +7,6 @@ TEMPLATE_DEBUG = DEBUG
ALLOWED_HOSTS = ['*']
INTERNAL_IPS = ('127.0.0.1',)
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader'
@@ -24,8 +22,6 @@ INSTALLED_APPS += (
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
DEBUG_TOOLBAR_PATCH_SETTINGS = False
TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.debug',)
WSGI_AUTO_RELOAD = True
MIDDLEWARE_CLASSES = ('debug_toolbar.middleware.DebugToolbarMiddleware',) + MIDDLEWARE_CLASSES