django-debug-toolbar/django-debug-toolbar — Issue #225: Template error if panels is but before flatpage middleware
Author: johnraz
Created: 2011-10-29 16:44:11+00:00
State: open

I get the following error If I put the debug toolbar middleware before flatpages middleware in my config:

Template error
In template /home/jonathan/.virtualenvs/lea-clean/local/lib/python2.7/site-packages/debug_toolbar/templates/debug_toolbar/base.html, error at line 48
Caught AttributeError while rendering: 'RequestVarsDebugPanel' object has no attribute 'view_func'

If I put it afterwards as we know, the debugbar won't display on flatpages.

Let me know if you need more infos.