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

Bug #1539354 reported by Shu Muto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum UI
Fix Released
Medium
yuanying
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Shu Muto
senlin-dashboard
Fix Released
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)
summary: - django.conf.urls.patterns deprecated since django 1.8
+ django.conf.urls.patterns is deprecated since django 1.8
Shu Muto (shu-mutou)
Changed in senlin-dashboard:
assignee: nobody → Shu Muto (shu-mutou)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin-dashboard (master)

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

yuanying (yuanying)
Changed in magnum-ui:
assignee: nobody → yuanying (ootsuka)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum-ui (master)

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

Changed in magnum-ui:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Shu Muto (shu-mutou)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin-dashboard (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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)
Changed in horizon:
milestone: none → mitaka-3
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/mistral-dashboard 2.0.0.0b3

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

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/murano-dashboard 2.0.0.0b3

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

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) 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)
Changed in magnum-ui:
status: In Progress → Fix Released
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.