Skip to content

Commit 981065b

Browse files
committed
Removed alias for MiddlewareBase
1 parent b96345c commit 981065b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simple_history/middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from django.utils.deprecation import MiddlewareMixin as MiddlewareBase
1+
from django.utils.deprecation import MiddlewareMixin
22

33
from .models import HistoricalRecords
44

55

6-
class HistoryRequestMiddleware(MiddlewareBase):
6+
class HistoryRequestMiddleware(MiddlewareMixin):
77
"""Expose request to HistoricalRecords.
88
99
This middleware sets request as a local thread variable, making it

0 commit comments

Comments
 (0)