We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96345c commit 981065bCopy full SHA for 981065b
simple_history/middleware.py
@@ -1,9 +1,9 @@
1
-from django.utils.deprecation import MiddlewareMixin as MiddlewareBase
+from django.utils.deprecation import MiddlewareMixin
2
3
from .models import HistoricalRecords
4
5
6
-class HistoryRequestMiddleware(MiddlewareBase):
+class HistoryRequestMiddleware(MiddlewareMixin):
7
"""Expose request to HistoricalRecords.
8
9
This middleware sets request as a local thread variable, making it
0 commit comments