django.conf.urls.patterns is deprecated since django 1.8

Bug #1539354 reported by Shu Muto on 2016-01-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum UI
Medium
yuanying
OpenStack Dashboard (Horizon)
Undecided
Shu Muto
senlin-dashboard
Undecided
Shu Muto

Bug Description

We should not use django.conf.urls.patterns method in urls.py.

https://docs.djangoproject.com/en/1.9/ref/urls/

Shu Muto (shu-mutou) on 2016-01-29
summary: - django.conf.urls.patterns deprecated since django 1.8
+ django.conf.urls.patterns is deprecated since django 1.8
Shu Muto (shu-mutou) on 2016-01-29
Changed in senlin-dashboard:
assignee: nobody → Shu Muto (shu-mutou)
status: New → In Progress
yuanying (yuanying) on 2016-02-02
Changed in magnum-ui:
assignee: nobody → yuanying (ootsuka)
importance: Undecided → Medium

Fix proposed to branch: master
Review: https://review.openstack.org/274960

Changed in magnum-ui:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.openstack.org/274980

Changed in horizon:
assignee: nobody → Shu Muto (shu-mutou)
status: New → In Progress

Reviewed: https://review.openstack.org/274049
Committed: https://git.openstack.org/cgit/openstack/senlin-dashboard/commit/?id=676b5713133ae047f16e3a6041990b2fb70ea015
Submitter: Jenkins
Branch: master

commit 676b5713133ae047f16e3a6041990b2fb70ea015
Author: shu-mutou <email address hidden>
Date: Fri Jan 29 19:01:45 2016 +0900

    Update URLs to Django 1.8 style

    django.conf.urls.patterns() is deprecated since 1.8.
    We should not use patterns(), so this patch updates URLs to
    1.8 style.

    Change-Id: I4192217356aa45ca7ba545985380820c5960382d
    Closes-Bug: #1539354

Changed in senlin-dashboard:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/274980
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f3207c814d4bc9c061d7bef24f40eed3099410d9
Submitter: Jenkins
Branch: master

commit f3207c814d4bc9c061d7bef24f40eed3099410d9
Author: shu-mutou <email address hidden>
Date: Mon Feb 1 10:40:13 2016 +0900

    Update URLs to Django 1.8 style for plugins

    django.conf.urls.patterns() is deprecated since 1.8.
    We should not use patterns(), so this patch updates URLs to
    1.8 style.

    Since many urls.py use patterns(), this patch revises docs and
    template related to plugins and new panels.

    Change-Id: Ib8fb5b1047bc4dd56000abe87affe3c22c30879e
    Partial-Bug: #1539354

Matthias Runge (mrunge) on 2016-02-24
Changed in horizon:
milestone: none → mitaka-3

This issue was fixed in the openstack/mistral-dashboard 2.0.0.0b3 development milestone.

This issue was fixed in the openstack/murano-dashboard 2.0.0.0b3 development milestone.

Rob Cresswell (robcresswell) wrote :

This was fixed in Horizon m-3, but only listed as a partial-bug for some reason.

Changed in horizon:
status: In Progress → Fix Released
Shu Muto (shu-mutou) on 2016-03-15
Changed in magnum-ui:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers