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

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'
@@ -19,8 +17,4 @@ INSTALLED_APPS += (
'django_extensions',
)
# Stop debug toolbar patching!
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.debug',)
WSGI_AUTO_RELOAD = True