]> git.ipfire.org Git - thirdparty/patchwork.git/commit
urls: Update url pattern functions
authorAndrew Donnellan <ajd@linux.ibm.com>
Thu, 27 Aug 2020 14:14:03 +0000 (00:14 +1000)
committerStephen Finucane <stephen@that.guru>
Thu, 27 Aug 2020 14:14:03 +0000 (00:14 +1000)
commit24debb57218de2edfa6eefdb81dceef70acfcd32
tree00494f843ae51b0da4c9aadd407a4b1ba2b89649
parent19d0f5dfa079f3da4c63a179289c503ee829729d
urls: Update url pattern functions

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 <ajd@linux.ibm.com>
Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/urls.py