Description
I'm using the toolbar 1.3 and Django 1.8.2. The toolbar displays fine and the SQL, Time, Headers, Request, Static Files, Templates panels all update but the Cache panel stays fixed at 0 calls even though it's activated. I've tried it using the LocMemCache and Memcached with same result. I'm using the explicit setup with DEBUG_TOOLBAR_PATCH_SETTINGS = False.
Here are my Middleware classes:
MIDDLEWARE_CLASSES = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.RemoteUserMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
)
In my urls I have:
if settings.DEBUG:
import debug_toolbar
urlpatterns += patterns('',
url(r'^debug/', include(debug_toolbar.urls)),
)
Is there anything else I'm missing to get the panel to update?