aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/template.py
AgeCommit message (Collapse)Author
2009-01-23Fix triggering an extra SQL query via the auth context processor.Rob Hudson
Fixed by moving the template panel's context_processor introspection to the content method so this happens at the process_response time instead of at process_request time. Since context processors _were_ happening at the process_response end, it was triggering the query `user.get_and_delete_messages()` which was also getting triggered separately if used in templates (i.e. the admin templates) resulting in duplicate queries showing up in the toolbar.
2008-10-01used os.path.normpath on templatdirs, this makes it looks cleaner, ↵Alex Gaynor
particularly removing ...
2008-09-24Merging from jezdez/master: Added context processors to TemplateDebugPanel.Rob Hudson
2008-09-24Added context processors to TemplateDebugPanelJannis Leidel
2008-09-21Refactoring middleware and panels so panels have more explicit middleware-likeRob Hudson
methods to be more clear when panel processing happens.
2008-09-20Use pformat for template contexts, which makes it more readableSimon Willison
2008-09-19Fixed template panel to skip over debug_toolbar templates. Fixed a bug in ↵Nowell Strite
template context output where rendering would hang while trying to autoescape the context variable output.
2008-09-18I noticed the template_rendered signal from the test suite also passed context,Rob Hudson
so I'm including the context with each template in the Template panel. This should make the designers happy.
2008-09-09Adding a templates panel that shows the templates used during aRob Hudson
request/response cycle. Also lists settings.TEMPLATE_DIRS.