aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Hudson2008-09-08 10:44:00 -0700
committerRob Hudson2008-09-08 10:44:00 -0700
commit545c387e111ac868942d48c616b45a6e099e241e (patch)
treea526d7359c1f8af7adc8c13d936d9238239f565f
parent4cba5d5e1340139822d3fd3e25af0871749c6345 (diff)
downloaddjango-debug-toolbar-545c387e111ac868942d48c616b45a6e099e241e.tar.bz2
Adding special note about middleware ordering.
-rw-r--r--README.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 0e557dc..e56955f 100644
--- a/README.rst
+++ b/README.rst
@@ -29,6 +29,10 @@ Installation
Tying into middleware allows each panel to be instantiated on request and
rendering to happen on response.
+ The order of MIDDLEWARE_CLASSES is important: the Debug Toolbar middleware
+ must come after any other middleware that encodes the response's content
+ (such as GZipMiddleware).
+
#. Add a tuple called `DEBUG_TOOLBAR_PANELS` to your ``settings.py`` file that
specifies the full Python path to the panel that you want included in the
Toolbar. This setting looks very much like the `MIDDLEWARE_CLASSES` setting.