aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tips.rst
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-11 11:31:21 -0800
committerAymeric Augustin2013-11-11 11:31:21 -0800
commit84c336830a3b01a94e9d0e2661ccad1de4545150 (patch)
tree1cc7893c4aadde657c92ac8744a339448b93d74a /docs/tips.rst
parentc71624039d3d05067a27d6f983b552f283ffb893 (diff)
parent334eccd578c4abcfe1e0d11a1227b37bf6553d65 (diff)
downloaddjango-debug-toolbar-84c336830a3b01a94e9d0e2661ccad1de4545150.tar.bz2
Merge pull request #456 from aaugustin/automagic-setup
Simplify installation and provide more control.
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
--------------------------