aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-13 20:40:22 +0100
committerAymeric Augustin2013-11-13 20:40:22 +0100
commit97090c32941784d28818721f37eee69e21e2d74e (patch)
treefdabb0301faf9595312b908e738638d18ecffacb /tests
parenta3acf6b57275f2a14cde7c209a8b6dff107275b0 (diff)
downloaddjango-debug-toolbar-97090c32941784d28818721f37eee69e21e2d74e.tar.bz2
Provide an option to force rendering panels in page.
Requested by David who seems to runs the debug toolbar in production :-)
Diffstat (limited to 'tests')
-rw-r--r--tests/settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/settings.py b/tests/settings.py
index a41b5a7..4805cee 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -52,3 +52,11 @@ DATABASES = {
'ENGINE': 'django.db.backends.sqlite3',
}
}
+
+
+# Debug Toolbar configuration
+
+DEBUG_TOOLBAR_CONFIG = {
+ # Django's test client sets wsgi.multiprocess to True inappropriately
+ 'RENDER_PANELS': False,
+}