aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/template.py
AgeCommit message (Collapse)Author
2013-11-15Continue moving panel-specific code within panels.Aymeric Augustin
Structure the SQL and template panels as packages as they're growing.
2013-11-15Move panel-specific views in panel modules.Aymeric Augustin
2013-11-12Make it possible for panels to provide URLs and views.Aymeric Augustin
Fix #448.
2013-11-12Move the logic to load panels inside the DebugToolbar class.Aymeric Augustin
This has the additional advantage of eliminating a side-effect that happened at import time unnecessarily. It justified refactoring the way we handle settings and defaults.
2013-11-10Be resilient if not all middleware run.Aymeric Augustin
Fix #129.
2013-11-10template.name may be something other than a string.Aymeric Augustin
Fix #389.
2013-11-10Disable instrumentation for disabled panels.Aymeric Augustin
This eliminates the performance overhead when a panel is disabled.
2013-11-10Avoid monkey-patching when it isn't necessary.Aymeric Augustin
2013-11-09Remove unused method in panel API.Aymeric Augustin
2013-10-27Centralize access to config and default values.Aymeric Augustin
2013-10-26Eliminate almost all flake8 messages.Aymeric Augustin
2013-10-26Strengthen error handling in templates panel.Aymeric Augustin
Fix #292.
2013-10-18Fix crash with objects having a non-ASCII repr in context.Aymeric Augustin
2013-10-17Enable unicode_literals in all non-empty modules.Aymeric Augustin
2013-10-17Remove compatibility code for unsupported version of Django.Aymeric Augustin
2012-09-22Fix displaying instance of RawQuerySet in templates toolbarNikita Kovaliov
2012-01-12pep8David Cramer
2012-01-12Fix UnicodeDecodeError on getting template context representations for ↵Andrey Grygoryev
templates panel.
2011-09-27Refactored template filtering: discard DjDT templates asap.Tomasz Buchert
2011-09-26Merge branch 'issue-duplicated-queries' of ↵David Cramer
https://github.com/thinred/django-debug-toolbar into thinred-issue-duplicated-queries
2011-09-26Better substitutions for template context variables triggering SQL queriesMikhail Korobov
2011-09-26Issue 187: queries are captured and not executed when template panel is ↵Tomasz Buchert
rendered.
2011-09-15Remove any remaining uses of self.__class__ with superbkonkle
2011-09-15Edited all of the panels to use the stats API and not override the content ↵bkonkle
method
2011-09-12Updated the template panel, and corrected an issue in the headers panelbkonkle
2011-07-14Dont modify the original context dictionary (fixes #184)David Cramer
2011-07-12Dont access __copy__ when it doesnt work. Preprocess context list so the ↵David Cramer
dictionary cannot be modified.
2011-06-23Django 1.3 seems to alter templates' rendering contexts after the fact, so ↵Nikolai Prokoschenko
just make our saved context a clone of the original to be sure we keep all of it. Fixes #159.
2011-06-10Checking if the origin attribute exists on the Template object insteadMiguel Araujo Perez
2011-06-09Fixes TemplateDebugPanel iterating over an unknown template without origin ↵Miguel Araujo Perez
or name
2011-04-13Ensure we are verifying that template.name is present before running a ↵David Cramer
string check
2010-09-07Fixed template block inheritance bug (issues 77 and 97)Rob Hudson
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>