django.conf.urls.url() is deprecated in favor of django.urls.re_path()

Bug #1967172 reported by Victoria Martinez de la Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Low
Victoria Martinez de la Cruz

Bug Description

django.conf.urls.url() is deprecated in favor of django.urls.re_path()

This has been deprecated in Django 3.1.x [0]

[0] https://docs.djangoproject.com/en/3.1/releases/3.1/#id2

Changed in manila-ui:
status: New → Triaged
assignee: nobody → Victoria Martinez de la Cruz (vkmc)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila-ui/+/835884

Changed in manila-ui:
status: Triaged → In Progress
Changed in manila-ui:
milestone: none → zed-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/835884
Committed: https://opendev.org/openstack/manila-ui/commit/627301d3055743e88b7c31af779a4035714071f8
Submitter: "Zuul (22348)"
Branch: master

commit 627301d3055743e88b7c31af779a4035714071f8
Author: Victoria Martinez de la Cruz <email address hidden>
Date: Wed Mar 30 18:14:10 2022 +0000

    Use re_path instead of url

    In Django 3.1 url has been deprecated in favor of
    re_path [0]

    We are now using Django 3.2, so we should update our
    code with the re_path alias.

    This has been fixed in Horizon as well [1]

    [0] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
    [1] https://opendev.org/openstack/horizon/commit/d9266fd82c1f0acc6b7236a6dc9b7e510985eb13

    Closes-Bug: #1967172
    Change-Id: Ibb5d5b726a836738b616e42f2cd9c6ee49835e0f

Changed in manila-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 8.0.0.0rc1

This issue was fixed in the openstack/manila-ui 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.