]> git.ipfire.org Git - thirdparty/patchwork.git/commit
urls: Remove reverse by Python path urls
authorStephen Finucane <stephen.finucane@intel.com>
Mon, 7 Dec 2015 23:14:20 +0000 (23:14 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Tue, 19 Jan 2016 21:55:27 +0000 (21:55 +0000)
commitfd3bfaabb8b8d2f4462f83e94c00b2ecef699661
tree322932cb3912a0443002d47ff2fbfad553c710a5
parent97b7b45a94ba7420f105938179b2a8a114bee040
urls: Remove reverse by Python path urls

Reversing by Python paths has been deprecated in Django 1.8, causes
warnings in Django 1.9 and will be removed in Django 2.0. Resolve the
warnings and prevent issues in the future by importing by module
instead.

https://docs.djangoproject.com/en/1.9/releases/1.8/#passing-a-dotted-path-to-reverse-and-url

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/urls.py