Skip to content

Commit af642fd

Browse files
committed
Support Django >= 1.7.
1 parent 6f234e7 commit af642fd

File tree

5 files changed

+17
-19
lines changed

5 files changed

+17
-19
lines changed

.travis.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
language: python
22
sudo: false
33
python:
4-
- "2.6"
54
- "2.7"
65
- "3.2"
76
- "3.3"
87
- "3.4"
8+
- "3.5"
99
env:
10-
- DJANGO="Django>=1.4.0,<1.5.0"
11-
- DJANGO="Django>=1.5.0,<1.6.0"
12-
- DJANGO="Django>=1.6.0,<1.7.0"
1310
- DJANGO="Django>=1.7.0,<1.8.0"
1411
- DJANGO="Django>=1.8.0,<1.9.0"
12+
- DJANGO="https://www.djangoproject.com/download/1.9a1/tarball/"
1513
matrix:
1614
exclude:
1715
- python: "3.2"
18-
env: DJANGO="Django>=1.4.0,<1.5.0"
16+
env: DJANGO="https://www.djangoproject.com/download/1.9a1/tarball/"
1917
- python: "3.3"
20-
env: DJANGO="Django>=1.4.0,<1.5.0"
21-
- python: "3.4"
22-
env: DJANGO="Django>=1.4.0,<1.5.0"
23-
24-
- python: "2.6"
18+
env: DJANGO="https://www.djangoproject.com/download/1.9a1/tarball/"
19+
- python: "3.5"
2520
env: DJANGO="Django>=1.7.0,<1.8.0"
26-
- python: "2.6"
21+
- python: "3.5"
2722
env: DJANGO="Django>=1.8.0,<1.9.0"
2823
install:
2924
- pip install -e .

docs/changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Change log
44
1.4
55
---
66

7+
This version is compatible with the upcoming Django 1.9 release. It requires
8+
Django 1.7 or later.
9+
710
New features
811
~~~~~~~~~~~~
912

example/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ About
55
-----
66

77
This sample project demonstrates how to use the debug toolbar. It is designed
8-
to run under the latest stable version of Django, currently 1.5.x.
8+
to run under the latest stable version of Django.
99

1010
It also provides a few test pages to ensure the debug toolbar doesn't
1111
interfere with common JavaScript frameworks.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
license='BSD',
1515
packages=find_packages(exclude=('tests.*', 'tests', 'example')),
1616
install_requires=[
17-
'Django>=1.4.2',
17+
'Django>=1.7',
1818
'sqlparse',
1919
],
2020
include_package_data=True,
@@ -28,12 +28,12 @@
2828
'Operating System :: OS Independent',
2929
'Programming Language :: Python',
3030
'Programming Language :: Python :: 2',
31-
'Programming Language :: Python :: 2.6',
3231
'Programming Language :: Python :: 2.7',
3332
'Programming Language :: Python :: 3',
3433
'Programming Language :: Python :: 3.2',
3534
'Programming Language :: Python :: 3.3',
3635
'Programming Language :: Python :: 3.4',
36+
'Programming Language :: Python :: 3.5',
3737
'Topic :: Software Development :: Libraries :: Python Modules',
3838
],
3939
)

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[tox]
22
envlist =
3-
py{26,27}-django14,
4-
py{26,27,32,33}-django{15,16},
53
py{27,32,33,34}-django{17,18},
4+
py{27,34,35}-django19,
65
flake8
76

87
[testenv]
98
basepython =
10-
py26: python2.6
119
py27: python2.7
1210
py32: python3.2
1311
py33: python3.3
1412
py34: python3.4
13+
py34: python3.5
1514
commands = make test
1615
deps =
1716
django14: Django>=1.4,<1.5
1817
django15: Django>=1.5,<1.6
1918
django16: Django>=1.6,<1.7
2019
django17: Django>=1.7,<1.8
21-
django18: https://www.djangoproject.com/download/1.8b1/tarball/
20+
django18: Django>=1.8,<1.9
21+
django19: https://www.djangoproject.com/download/1.9a1/tarball/
2222
django-discover-runner
2323
selenium
2424
sqlparse
@@ -28,7 +28,7 @@ whitelist_externals = make
2828

2929
[testenv:flake8]
3030
basepython =
31-
python2.6
31+
python2.7
3232
commands = make flake8
3333
deps =
3434
flake8

0 commit comments

Comments
 (0)