Skip to content

Commit 86aa549

Browse files
authored
Drop Django 2.1 and below. (#7225)
1 parent 908f91d commit 86aa549

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ matrix:
55
fast_finish: true
66
include:
77

8-
- { python: "3.5", env: DJANGO=1.11 }
9-
- { python: "3.5", env: DJANGO=2.0 }
10-
- { python: "3.5", env: DJANGO=2.1 }
118
- { python: "3.5", env: DJANGO=2.2 }
129

13-
- { python: "3.6", env: DJANGO=1.11 }
14-
- { python: "3.6", env: DJANGO=2.0 }
15-
- { python: "3.6", env: DJANGO=2.1 }
1610
- { python: "3.6", env: DJANGO=2.2 }
1711
- { python: "3.6", env: DJANGO=3.0 }
1812
- { python: "3.6", env: DJANGO=master }
1913

20-
- { python: "3.7", env: DJANGO=2.0 }
21-
- { python: "3.7", env: DJANGO=2.1 }
2214
- { python: "3.7", env: DJANGO=2.2 }
2315
- { python: "3.7", env: DJANGO=3.0 }
2416
- { python: "3.7", env: DJANGO=master }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ There is a live example API for testing purposes, [available here][sandbox].
5555
# Requirements
5656

5757
* Python (3.5, 3.6, 3.7, 3.8)
58-
* Django (1.11, 2.0, 2.1, 2.2, 3.0)
58+
* Django (2.2, 3.0)
5959

6060
We **highly recommend** and only officially support the latest patch release of
6161
each Python and Django series.

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,15 @@ def get_version(package):
8282
author_email='tom@tomchristie.com', # SEE NOTE BELOW (*)
8383
packages=find_packages(exclude=['tests*']),
8484
include_package_data=True,
85-
install_requires=["django>=1.11"],
85+
install_requires=["django>=2.2"],
8686
python_requires=">=3.5",
8787
zip_safe=False,
8888
classifiers=[
8989
'Development Status :: 5 - Production/Stable',
9090
'Environment :: Web Environment',
9191
'Framework :: Django',
92-
'Framework :: Django :: 1.11',
93-
'Framework :: Django :: 2.0',
94-
'Framework :: Django :: 2.1',
9592
'Framework :: Django :: 2.2',
93+
'Framework :: Django :: 3.0',
9694
'Intended Audience :: Developers',
9795
'License :: OSI Approved :: BSD License',
9896
'Operating System :: OS Independent',

tox.ini

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
[tox]
22
envlist =
3-
{py35,py36}-django111,
4-
{py35,py36,py37}-django20,
5-
{py35,py36,py37}-django21
6-
{py35,py36,py37}-django22
3+
{py35,py36,py37}-django22,
74
{py36,py37,py38}-django30,
85
{py36,py37,py38}-djangomaster,
96
base,dist,lint,docs,
107

118
[travis:env]
129
DJANGO =
13-
1.11: django111
14-
2.0: django20
15-
2.1: django21
1610
2.2: django22
1711
3.0: django30
1812
master: djangomaster
@@ -24,9 +18,6 @@ setenv =
2418
PYTHONDONTWRITEBYTECODE=1
2519
PYTHONWARNINGS=once
2620
deps =
27-
django111: Django>=1.11,<2.0
28-
django20: Django>=2.0,<2.1
29-
django21: Django>=2.1,<2.2
3021
django22: Django>=2.2,<3.0
3122
django30: Django>=3.0,<3.1
3223
djangomaster: https://github.com/django/django/archive/master.tar.gz

0 commit comments

Comments
 (0)