urls: Migrate zproject urls to use modern django patterns.

This migrations use of url() to path() or re_path().  In this commit,
we only migration regular expressions to path where the translation is trivial:
* URLs with no parameters in them
* URLs with only integer parameters in them
* Strings where there regular expression just checked for `/`s
path; strings, which can have variable validation in the URLs that
need by-hand auditing, we leave for future commits that are easier to
review and think about the individual changes.

Modified by tabbott to convert back to `re_path` various URLs with
strings that had been converted to use `path()` with string
validation to simplify review.

Fixes #14770.
This commit is contained in:
wowol 2020-05-05 15:44:24 +02:00 committed by Tim Abbott
parent a3c475f137
commit fec77381ee
1 changed files with 416 additions and 413 deletions

File diff suppressed because it is too large Load Diff