Drop Django 1.7 And Support Django 1.9

Registered by Rob Cresswell

Summary
=======
Django 1.7 will be deprecated during the Mitaka cycle. There are many uses of deprecated code that can now be removed, or old styles that can be updated. These deprecations will be removed in Django 1.9, so we can support it at the same time.

Motivation
========
We should continue to support current versions of Django, to be eligible for new features and security updates.

Description
=========
This field should contain a detailed description of the feature to be added.

UX
===
N/A

Wireframes, Mocks, Videos and UI Markup
---------------------------------------------------------
N/A

Testing
======
Tests shouldn't be largely affected, aside from updating for new syntax.

Outside Dependencies
==================
Deprecation of Django 1.7

https://www.djangoproject.com/download/#supported-versions

Requirements Update Required
========================
Django must have a new minimum of 1.8, and a new maximum of 1.9

The following must all have a minimum that supports Django 1.8:
* django-babel
* django-bootstrap-form
* django_compressor
* django-formtools
* django_openstack_auth

Doc Impact
=========
Minor changes to list the new supported versions.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
Rob Cresswell
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 10.0.0-newton
Implementation:
Implemented
Milestone target:
milestone icon newton-2
Started by
Matthias Runge
Completed by
David Lyle

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/drop-dj17,n,z

Addressed by: https://review.openstack.org/223106 -- MERGED
    Drop Django1.7 support

Addressed by: https://review.openstack.org/225483 -- ABANDONED
    Update Project URLs to Django 1.8 style

Gerrit topic: https://review.openstack.org/#q,topic:django-version-cleanup,n,z

Addressed by: https://review.openstack.org/241892 -- MERGED
    Remove some old (pre-1.8) Django compatibility code

Addressed by: https://review.openstack.org/258921
    Use the default `url` tag instead

Addressed by: https://review.openstack.org/266529
    Add py27dj19 tox env

Addressed by: https://review.openstack.org/268061
    Make py27dj19 tests pass

Addressed by: https://review.openstack.org/269123
    Remove all pre-Django 1.8 workarounds

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

Addressed by: https://review.openstack.org/268076
    [Django 1.9] Do not use TemplateDoesNotExist from Django

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

Addressed by: https://review.openstack.org/268044
    [Django 1.9] Do not use django.utils.log.NullHandler

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

Addressed by: https://review.openstack.org/268042
    [Django 1.9] Stop using django.utils.importlib

Addressed by: https://review.openstack.org/269170
    [Django 1.9] Replace django.utils.unittest

Addressed by: https://review.openstack.org/269173
    [Django 1.9] Replace request.REQUEST with POST/GET

Addressed by: https://review.openstack.org/269180
    [Django 1.9] Update template.base.Library() import

Addressed by: https://review.openstack.org/271850
    [Django 1.9] Remove testserver from expected_url

Addressed by: https://review.openstack.org/280222
    [WIP] Fix remaining Django 1.9 test failures

Addressed by: https://review.openstack.org/320800
    Update the links of django docs to dev version

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.