Skip to content

Commit

Permalink
Do not intercept redirects in the debug toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Egli committed Jun 25, 2009
1 parent e518466 commit c967897
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

DAISY_PIPELINE_PATH = os.path.join(PROJECT_DIR, '..', '..', 'tmp', 'pipeline-20090410')

if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1',)

# debug toolbar
INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS' : False}

0 comments on commit c967897

Please sign in to comment.