Skip to content

Commit 24e42d3

Browse files
authored
test against Django 3.1 (#3)
1 parent 2a008a3 commit 24e42d3

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "pypi"
77

88
[dev-packages]
99
black = "==19.10b0"
10-
Django = ">=3.0,<3.1"
10+
Django = ">=3.1,<3.2"
1111
flake8 = "*"
1212
psycopg2-binary = "*"
1313
tox = "*"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Based on [django-add-default-value](https://github.com/3YOURMIND/django-add-defa
1111
## Dependencies
1212

1313
- Python 3.6, 3.7, 3.8, or 3.9
14-
- Django 2.2 or 3.0
14+
- Django 2.2, 3.0, or 3.1
1515

1616
## Installation
1717

@@ -76,4 +76,4 @@ django-add-default-value-postgresql is released under the Apache 2.0 License, ba
7676
- removed MSSQL-related code
7777
- added allow_migrate_model check on database_forwards and database_backwards
7878
- added support for Python 3.7, 3.8, and 3.9, dropped support for <3.6
79-
- added support for Django 2.2 and 3.0, dropped support for <2.2
79+
- added support for Django 2.2, 3.0, and 3.1, dropped support for <2.2

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ classifiers =
1111
Framework :: Django
1212
Framework :: Django :: 2.2
1313
Framework :: Django :: 3.0
14+
Framework :: Django :: 3.1
1415
License :: OSI Approved :: Apache Software License
1516
Programming Language :: Python
1617
Programming Language :: Python :: 3

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
envlist =
33
format
44
lint
5-
django{22,30}-postgresql
5+
django{22,30,31}-postgresql
66

77
[flake8]
88
exclude =
@@ -26,14 +26,14 @@ commands = {envpython} manage.py test tests
2626
deps =
2727
django22: Django>=2.2,<2.2.99
2828
django30: Django>=3.0,<3.0.99
29+
django31: Django>=3.1,<3.1.99
2930
postgresql: psycopg2-binary
3031

3132
[testenv:lint]
3233
deps = flake8
3334
changedir = {toxinidir}
3435
commands = flake8 django_add_default_value
3536

36-
3737
[testenv:format]
3838
deps = black
3939
changedir = {toxinidir}

0 commit comments

Comments
 (0)