mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
From the Django 4.0 release notes: The get_response argument for django.utils.deprecation.MiddlewareMixin.__init__() is required and doesn’t accept None. It appears that any non-None value can be used here, so I pass in `True` when initializing middlewares for tests. I don't know if this was the intended value, but it does fix the tests. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>