Project

Profile

Help

Refactor #9466

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

Added by ipanova@redhat.com about 2 months ago. Updated about 2 months 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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to RPM Support - Refactor #9467: django.conf.urls.url() is deprecated, switch to django.urls.path()CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 6e45258c View on GitHub
Added by ipanova@redhat.com about 2 months ago

Use newer style of Django path declaration in urlpatterns.

closes #9466

Revision 6e45258c View on GitHub
Added by ipanova@redhat.com about 2 months ago

Use newer style of Django path declaration in urlpatterns.

closes #9466

History

#1 Updated by ipanova@redhat.com about 2 months ago

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

#2 Updated by ipanova@redhat.com about 2 months ago

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

#3 Updated by pulpbot about 2 months ago

  • Status changed from NEW to POST

#4 Updated by ipanova@redhat.com about 2 months ago

  • Status changed from POST to MODIFIED

#5 Updated by ipanova@redhat.com about 2 months ago

  • Sprint/Milestone set to 2.9.0

#6 Updated by pulpbot about 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF