-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Changes in Django 1.10 means MIDDLEWARE_CLASSES now becomes MIDDLEWARE.
password_policies.middleware.PasswordChangeMiddleware now broken:
in load_middleware
mw_instance = middleware(handler)
TypeError: object() takes no parameters
All it seems to need is:
from django.utils.deprecation import MiddlewareMixin
class PasswordChangeMiddleware(MiddlewareMixin):
Tested, and seems fine.
mpasternak
Metadata
Metadata
Assignees
Labels
No labels