Update URL patterns to use new path() and re_path().
Review Request #11956 — Created Jan. 21, 2022 and submitted — Latest diff uploaded
Django 2+ provides a new method for definings URLs,
path()
. This is
much simpler for basic cases, and makes URL patterns more readable. In
addition, the oldurl()
method has been renamed tore_path()
, and a
warning is raised when using the old name, so switch to that too.
Ran unit tests.