| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Fix #292.
|
|
|
|
|
|
|
|
|
|
|
|
templates panel.
|
|
|
|
https://github.com/thinred/django-debug-toolbar into thinred-issue-duplicated-queries
|
|
|
|
rendered.
|
|
|
|
method
|
|
|
|
|
|
dictionary cannot be modified.
|
|
just make our saved context a clone of the original to be sure we keep all of it. Fixes #159.
|
|
|
|
or name
|
|
string check
|
|
|
|
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>
|
|
Signed-off-by: Rob Hudson <rob@cogit8.org>
|
|
|
|
|
|
rather than removing it.
Signed-off-by: Rob Hudson <rob@cogit8.org>
|
|
some more informative variable names.
Signed-off-by: Rob Hudson <rob@cogit8.org>
|
|
(request and sql_queries)
Signed-off-by: Rob Hudson <rob@cogit8.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Rob Hudson <rob@tastybrew.com>
|
|
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.
|
|
particularly removing ...
|
|
|
|
|
|
methods to be more clear when panel processing happens.
|
|
|
|
template context output where rendering would hang while trying to autoescape the context variable output.
|
|
so I'm including the context with each template in the Template panel. This
should make the designers happy.
|
|
request/response cycle. Also lists settings.TEMPLATE_DIRS.
|