Commit 7e40ea0e by David Ormsbee

Add Django Debug Toolbar to default dev config.

parent 3b37beb3
...@@ -5,10 +5,14 @@ Dev-specific Django settings. ...@@ -5,10 +5,14 @@ Dev-specific Django settings.
# Inherit from base settings # Inherit from base settings
from .base import * from .base import *
INSTALLED_APPS += (
'django_pdb', # Allows post-mortem debugging on exceptions
'debug_toolbar',
)
MIDDLEWARE_CLASSES += ( MIDDLEWARE_CLASSES += (
'django_pdb.middleware.PdbMiddleware', # Needed to enable shell-on-crash behavior 'django_pdb.middleware.PdbMiddleware', # Needed to enable shell-on-crash behavior
'debug_toolbar.middleware.DebugToolbarMiddleware',
) )
INSTALLED_APPS += ( INTERNAL_IPS = ('127.0.0.1',)
'django_pdb', # Allows post-mortem debugging on exceptions
)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment