At 4:27 PM

Displaying the content of #django {% debug %} tag

django has one interesting tag:

debug

Outputs a whole load of debugging information, including the current context and imported modules.

I use this boilerplate to display it properly:

<pre> {% filter force_escape %} {% debug %} {% endfilter %} </pre>

Other debug template techniques I posted on stackoverflow.

blog comments powered by Disqus