1. Joe Heck
  2. eyes

Commits

Joe Heck  committed c4ffbd3

adding debug toolbar to project

  • Participants
  • Parent commits 4943fa4
  • Branches default

Comments (0)

Files changed (1)

File eyeswebapp/settings.py

View file
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'debug_toolbar.middleware.DebugToolbarMiddleware',
 )
 
 CACHE_MIDDLEWARE_SECONDS = 60
     'api',
     'django.contrib.markup',  # to enable markup in templates
     #'django_extensions', # for extra commands in manage.py help
+    'debug_toolbar',
 )
 
+INTERNAL_IPS = ('127.0.0.1',)
+
 DEFAULT_FROM_EMAIL = 'alert@yourhost.com'
 DEFAULT_CHARSET = "utf-8"
 EMAIL_HOST = 'localhost'