Support Django newer than Django-1.6

Registered by Matthias Runge

Horizon currently supports Django-1.6, which won't receive further security fixes once Django-1.8 is out (expected around April 1st, 2015.

Django-1.8 is the next planned LTS version (after Django-1.4)

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Essential
Drafter:
Matthias Runge
Direction:
Approved
Assignee:
Matthias Runge
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Matthias Runge
Completed by
David Lyle

Whiteboard

[mrunge, Feb 25 2015] If we can't make it for Django-1.8, 1.7 would work for now. There are about 2 tests not fixed.

[mrunge, Feb 27 2015] A new django-nose is required.
cf. https://github.com/django-nose/django-nose/commit/08bc8e5efc0e89bbce4ca2a3bf5a5bcdb49ae43c

Gerrit topic: https://review.openstack.org/#q,topic:bug/1425892,n,z

Addressed by: https://review.openstack.org/161117 -- merged
    Add Django-1.7 support

Review for global-requirements: https://review.openstack.org/#/c/155353/ -- merged

Gerrit topic: https://review.openstack.org/#q,topic:bp/django18,n,z

Addressed by: https://review.openstack.org/167562 -- merged
    run compilemessages with runtime deps

Addressed by: https://review.openstack.org/201066
    remove django<1.7 from tests

Addressed by: https://review.openstack.org/201734 -- abandoned
    Add reference to AUTH_USER_MODEL for tests

Addressed by: https://review.openstack.org/207727 -- merged
    Use charset instead of _charset for dj18 response

Addressed by: https://review.openstack.org/207836 -- merged
    Do not call _assertNotContains override in Django newer than 1.6

Gerrit topic: https://review.openstack.org/#q,topic:bug/1481143,n,z

Addressed by: https://review.openstack.org/208781 --merged
    Use setUp() method for neutron rest test

Gerrit topic: https://review.openstack.org/#q,topic:bug/1482509,n,z

Addressed by: https://review.openstack.org/210216 -- merged
    Remove un-related nova quota in test data

Gerrit topic: https://review.openstack.org/#q,topic:bug/1482958,n,z

Addressed by: https://review.openstack.org/210805 -- merged
    Don't escape request.get_full_path() in Django1.8

Addressed by: https://review.openstack.org/#/c/167981/ -- merged
    Extend User from AbstractBaseUser and AnonymousUser

[robcresswell 2015-08-11]
bp doesn't appear to be tracking properly. Have manually updated the status of several patches, and added 167981. Be sure to double check when looking through this :)

Addressed by: https://review.openstack.org/211892
    Add todo regarding code removal in M

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.