From 91de5633b5bef1b04ea88ec418a72d15a58da15e Mon Sep 17 00:00:00 2001 From: Ibrahim Awwal Date: Thu, 20 Sep 2012 04:33:47 -0700 Subject: [PATCH] DjDT redirect intercept is annoying, especially for tests, so disable it --- lms/envs/dev.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lms/envs/dev.py b/lms/envs/dev.py index d833a5a2fc..9114f099d4 100644 --- a/lms/envs/dev.py +++ b/lms/envs/dev.py @@ -156,6 +156,9 @@ DEBUG_TOOLBAR_PANELS = ( # 'debug_toolbar.panels.profiling.ProfilingDebugPanel', ) +DEBUG_TOOLBAR_CONFIG = { + 'INTERCEPT_REDIRECTS': False +} ############################ FILE UPLOADS (ASKBOT) ############################# DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' MEDIA_ROOT = ENV_ROOT / "uploads"