aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/template.py
AgeCommit message (Collapse)Author
2010-01-14Template panel context cleanup.Chris Adams
All panels get a copy of the template context when created and use an updated copy when rendering so they can have full access to context vars and avoid making changes to the shared context. Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-01-08Print non-iterable template context layers as-isMikhail Korobov
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-11-27Replaced full repr of LANGUAGES to trim template context.Rob Hudson
2009-11-03Small i18n change in template panelJannis Leidel
2009-09-30Template panel: Replace the sql_queries element from the template context ↵Chris Beaven
rather than removing it. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-30Template panel: One letter variable names are bad practice, changed to use ↵Chris Beaven
some more informative variable names. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-30Template panel: Remove unnecessary large elements from each template context ↵Chris Beaven
(request and sql_queries) Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-25Fixed template panel bug that caused the context to not display correctly.Rob Hudson
2009-09-10handle merge conflictsAlex Gaynor
2009-08-25added spanish translation of the panels nav titlePercy Perez-Pinedo
2009-08-12oops, retitled templates panelIdan Gazit
2009-08-12Proper handling of template panel titleIdan Gazit
2009-08-12added in-panel titleIdan Gazit
2009-08-12renamed title/subtitle -> nav_title/nav_subtitleIdan Gazit
2009-08-11allow for handling the pathological case of an insanely large template contextAlex Gaynor
2009-08-10Merge commit 'origin/master'Alex Gaynor
2009-08-10Show the number of rendered templates in the toolbar.Alex Gaynor
2009-07-28Bypass context variables which 'repr' is broken.Mike Korobov
Signed-off-by: Rob Hudson <rob@tastybrew.com>
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.