From 545c387e111ac868942d48c616b45a6e099e241e Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Mon, 8 Sep 2008 10:44:00 -0700 Subject: Adding special note about middleware ordering. --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3