Django 3.1 deprecates the ifequal and ifnotequal tags, for removal in 4.0.
Replace all occurrences of ifequal and ifnotequal with if.
Signed-off-by: Andrew Donnellan
---
.../patchwork/partials/pagination.html| 8
.../patchwork/partials/patch-list.html| 20
Django 3.1 deprecates django.conf.urls.url() as an alias for
django.urls.re_path(). Also switch to using django.urls.include() rather
than django.conf.urls.include().
Signed-off-by: Andrew Donnellan
---
patchwork/urls.py | 331 +++---
1 file changed, 167
Django 3.1 adds a new admin sidebar feature that requires the
django.template.context_processors.request context processor to be enabled
in the settings.
Signed-off-by: Andrew Donnellan
---
patchwork/settings/base.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/patchwork/settings/base.py
Signed-off-by: Andrew Donnellan
---
releasenotes/notes/django-3-1-support-f0450ed3e7983fe2.yaml | 5 +
requirements-dev.txt| 2 +-
requirements-prod.txt | 2 +-
tox.ini
Update django-filter dependency to a version that's compatible with Django
3.1.
Signed-off-by: Andrew Donnellan
---
requirements-dev.txt | 2 +-
requirements-prod.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/requirements-dev.txt b/requirements-dev.txt
index