Support Django 1.10

Bug #1710857 reported by Aleš Křivák
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy UI
Fix Released
Undecided
Aleš Křivák

Bug Description

Since Pike already supports Django 1.10, we should also update GPB UI.

Django 1.10 drops support for deprecated django.conf.urls.patterns() (see https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns) and all urls.py needs to be updated.

There is also problem with CSRF, but it should be already fixed on Horizon side (https://bugs.launchpad.net/horizon/+bug/1690387).

Changed in group-based-policy-ui:
assignee: nobody → Aleš Křivák (aleskrivak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (master)

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

Changed in group-based-policy-ui:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (master)

Reviewed: https://review.openstack.org/493830
Committed: https://git.openstack.org/cgit/openstack/group-based-policy-ui/commit/?id=61bfed72c649b8c87f866ccaee3e98cf7258385e
Submitter: Jenkins
Branch: master

commit 61bfed72c649b8c87f866ccaee3e98cf7258385e
Author: Aleš Křivák <email address hidden>
Date: Tue Aug 15 12:46:43 2017 +0200

    Remove patterns call from urls

    Calling patterns method in urls.py files is redundant and as of Django
    1.8 also deprecated. In order to support Django 1.10, we need
    to update urls.

    Closes-Bug: #1710857
    Change-Id: I57a33d3ac166256fb18cc16665894c0c48c77af5

Changed in group-based-policy-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.