mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Support Django 2.0
This is the final change required for Django 2.0 support. Instead of using MIDDLEWARE_CLASSES use MIDDLEWARE setting. Support for new style middleware was provided in version 0.3.0, so depend on that version. Django built-in middleware already supports new style and plinth middleware will now support new style. The actual semantics of the middleware don't need changes. See: https://docs.djangoproject.com/en/2.0/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
474b363f0b
commit
1da594c32d
5 files changed
+12
-9
No files matched your search
Vendored
+1
-1
@@ -28,7 +28,7 @@ Build-Depends: debhelper (>= 10~)
|
||||
, python3-django (>= 1.11)
|
||||
, python3-django-axes (>= 3.0.3)
|
||||
, python3-django-captcha
|
||||
, python3-django-stronghold
|
||||
, python3-django-stronghold (>= 0.3.0)
|
||||
, python3-gi
|
||||
, python3-psutil
|
||||
, python3-requests
|
||||
|
||||
Reference in new issue
Block a user