aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tips.rst
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-11 17:55:23 +0100
committerAymeric Augustin2013-11-11 19:33:52 +0100
commit334eccd578c4abcfe1e0d11a1227b37bf6553d65 (patch)
tree1cc7893c4aadde657c92ac8744a339448b93d74a /docs/tips.rst
parenteb244f71bfc9cdd5cb4341f98002e03de3414287 (diff)
downloaddjango-debug-toolbar-334eccd578c4abcfe1e0d11a1227b37bf6553d65.tar.bz2
Rewrite installation instructions.
Diffstat (limited to 'docs/tips.rst')
-rw-r--r--docs/tips.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/tips.rst b/docs/tips.rst
index 5de4ec3..d92e5ab 100644
--- a/docs/tips.rst
+++ b/docs/tips.rst
@@ -1,6 +1,19 @@
Tips
====
+The toolbar isn't displayed!
+----------------------------
+
+The Debug Toolbar will only display itself if the mimetype of the response is
+either ``text/html`` or ``application/xhtml+xml`` and contains a closing
+``</body>`` tag.
+
+Be aware of middleware ordering and other middleware that may intercept
+requests and return responses. Putting the debug toolbar middleware *after*
+the Flatpage middleware, for example, means the toolbar will not show up on
+flatpages.
+
+
Performance considerations
--------------------------