aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRob Hudson2009-01-23 09:31:49 -0800
committerRob Hudson2009-01-23 09:31:49 -0800
commit52adaed63ed1d6255f66a0be7abb84dadcf457bb (patch)
tree54a29151a7f5693ac701ce2424015633fd2ff72f /setup.py
parent356c330e6032f1f858f277e35011bec991bf109e (diff)
downloaddjango-debug-toolbar-52adaed63ed1d6255f66a0be7abb84dadcf457bb.tar.bz2
Fix triggering an extra SQL query via the auth context processor.
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.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions