Project

Profile

Help

Refactor #9466

closed

django.conf.urls.url() is deprecated, switch to django.urls.path()

Added by ipanova@redhat.com about 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 106
Quarter:

Description

This is referring to the urlpatterns= [ .... ] in urls.py.

The "old way" is not scheduled to be removed any time soon, but the new way is nicer in many respects.

https://docs.djangoproject.com/en/3.2/ref/urls/#path https://docs.djangoproject.com/en/3.2/ref/urls/#url


Related issues

Copied from Pulp - Refactor #9443: django.conf.urls.url() is deprecated, switch to django.urls.path()CLOSED - CURRENTRELEASEdalley

Actions
Copied to RPM Support - Refactor #9467: django.conf.urls.url() is deprecated, switch to django.urls.path()CLOSED - CURRENTRELEASEdalley

Actions
Actions #1

Updated by ipanova@redhat.com about 3 years ago

  • Copied from Refactor #9443: django.conf.urls.url() is deprecated, switch to django.urls.path() added
Actions #2

Updated by ipanova@redhat.com about 3 years ago

  • Copied to Refactor #9467: django.conf.urls.url() is deprecated, switch to django.urls.path() added
Actions #3

Updated by pulpbot about 3 years ago

  • Status changed from NEW to POST

Added by ipanova@redhat.com about 3 years ago

Revision 6e45258c | View on GitHub

Use newer style of Django path declaration in urlpatterns.

closes #9466

Added by ipanova@redhat.com about 3 years ago

Revision 6e45258c | View on GitHub

Use newer style of Django path declaration in urlpatterns.

closes #9466

Actions #4

Updated by ipanova@redhat.com about 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by ipanova@redhat.com about 3 years ago

  • Sprint/Milestone set to 2.9.0
Actions #6

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF