]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Use URL names in place of Python paths
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 8 Dec 2015 15:09:00 +0000 (15:09 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Tue, 19 Jan 2016 21:55:26 +0000 (21:55 +0000)
commit97b7b45a94ba7420f105938179b2a8a114bee040
tree62ca29e3b464696136c08162f3436881b94b42d0
parent68686d1774ea74e71f16ae098d28a321a2f930a3
Use URL names in place of Python paths

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 referring to URLs by name,
rather than by Python path.

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>
40 files changed:
patchwork/models.py
patchwork/templates/patchwork/activation_email.txt
patchwork/templates/patchwork/bundle.html
patchwork/templates/patchwork/bundles.html
patchwork/templates/patchwork/filters.html
patchwork/templates/patchwork/help/pwclient.html
patchwork/templates/patchwork/login.html
patchwork/templates/patchwork/mail-settings.html
patchwork/templates/patchwork/optin-request.html
patchwork/templates/patchwork/optin-request.mail
patchwork/templates/patchwork/optin.html
patchwork/templates/patchwork/optout-request.html
patchwork/templates/patchwork/optout-request.mail
patchwork/templates/patchwork/optout.html
patchwork/templates/patchwork/patch-change-notification.mail
patchwork/templates/patchwork/patch-list.html
patchwork/templates/patchwork/patch.html
patchwork/templates/patchwork/profile.html
patchwork/templates/patchwork/project.html
patchwork/templates/patchwork/projects.html
patchwork/templates/patchwork/pwclientrc
patchwork/templates/patchwork/registration-confirm.html
patchwork/templates/patchwork/todo-lists.html
patchwork/templates/patchwork/user-link-confirm.html
patchwork/templates/patchwork/user-link.html
patchwork/templates/patchwork/user-link.mail
patchwork/templatetags/person.py
patchwork/tests/test_confirm.py
patchwork/tests/test_list.py
patchwork/tests/test_mail_settings.py
patchwork/tests/test_registration.py
patchwork/tests/test_updates.py
patchwork/tests/test_user.py
patchwork/tests/test_xmlrpc.py
patchwork/views/bundle.py
patchwork/views/patch.py
patchwork/views/project.py
patchwork/views/user.py
patchwork/views/xmlrpc.py
templates/base.html