Workaround Django axes checking settings.MIDDLEWARE

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-07-17 17:15:50 -07:00 committed by James Valleroy
parent 45ce2ae08b
commit 7a96922293
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -47,6 +47,10 @@ INSTALLED_APPS = [
'plinth',
]
# XXX: Workaround problem with django-axes 5.0.7 checking for settings in
# settings.MIDDLEWARE. This fails on Django version 1.11.
MIDDLEWARE = ()
# These are included here solely to suppress Django warnings
# during testing setup
MIDDLEWARE_CLASSES = (