Switch URL-related imports to using django.urls.

Review Request #11622 — Created May 26, 2021 and submitted

Information

Djblets
release-3.x

Reviewers

Old versions of Django used django.core.urlresolvers as the module for
most URL-related imports. That's since been changed to live in
django.urls. Along with this, some of the names have changed (all
Regex prefixes were dropped, for instance).

This change updates all of our imports to use the new imports and names.
This is compatible with both Django 1.11 and 3.2.

Unit tests pass on Django 1.11 and on 3.2 (along with other in-development
changes).

Summary ID
Switch URL-related imports to using django.urls.
Old versions of Django used `django.core.urlresolvers` as the module for most URL-related imports. That's since been changed to live in `django.urls`. Along with this, some of the names have changed (all `Regex` prefixes were dropped, for instance). This change updates all of our imports to use the new imports and names. This is compatible with both Django 1.11 and 3.2.
83464052b25b0ad0d86e6c3e3c391c6cc9b8b390
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (cdd9820)