ENH: Upgrade versions (django 1.10) (#8)

This commit is contained in:
Matthew Ryan Dillon 2016-08-14 20:12:12 -07:00 committed by GitHub
parent 76e5f1dc58
commit 0745af67a6
7 changed files with 46 additions and 40 deletions

10
ccdb/utils/middleware.py Normal file
View file

@ -0,0 +1,10 @@
from django.utils.deprecation import MiddlewareMixin
from django.conf import settings
if settings.DEBUG:
from debug_toolbar.middleware import DebugToolbarMiddleware
class PatchedDebugToolbarMiddleware(MiddlewareMixin,
DebugToolbarMiddleware):
pass