Skip to content

Commit 6703a5e

Browse files
authored
Merge pull request #19 from kimetrica/django-3.0
Django 3.0
2 parents 86acd12 + 8a540c3 commit 6703a5e

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "3.5"
77
- "3.6"
88
- "3.7"
9+
- "3.8"
910
install:
1011
- pip install tox-travis pylint
1112
script:

binary_database_files/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import print_function, unicode_literals
3+
from six import python_2_unicode_compatible
34

45
from django.conf import settings
56
from django.db import models
67
from django.utils import timezone
7-
from django.utils.encoding import python_2_unicode_compatible
88

99
from django.db.models import BinaryField
1010

pip-requirements-min-django.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Django>=1.11
2-
Django<2.3
2+
Django<3.1

pip-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
six>=1.7.2
1+
six>=1.14.0

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ max-line-length=160
88
#https://pypi.python.org/pypi/Django/2.0
99
#https://pypi.python.org/pypi/Django/2.1
1010
#https://pypi.python.org/pypi/Django/2.2
11-
envlist = py{27,34,36,37}-django{111},py{34,36,37}-django{20},py{36,37}-django{21},py{36,37}-django{22}
11+
#https://pypi.python.org/pypi/Django/3.0
12+
envlist = py{27,34,36,37}-django{111},py{34,36,37}-django{20},py{36,37}-django{21},py{36,37}-django{22},py{36,37,38}-django{30}
1213
recreate = True
1314

1415
[testenv]
@@ -18,11 +19,13 @@ basepython =
1819
py35: python3.5
1920
py36: python3.6
2021
py37: python3.7
22+
py38: python3.8
2123
deps =
2224
-r{toxinidir}/pip-requirements.txt
2325
-r{toxinidir}/pip-requirements-test.txt
2426
django111: Django>=1.11,<2
2527
django20: Django>=2,<2.1
2628
django21: Django>=2.1,<2.2
2729
django22: Django>=2.2,<2.3
30+
django30: Django>=3.0,<3.1
2831
commands = django-admin.py test --traceback --pythonpath=. --settings=binary_database_files.tests.settings binary_database_files.tests.tests.DatabaseFilesTestCase{env:TESTNAME:}

0 commit comments

Comments
 (0)