Skip to content

Commit b54e954

Browse files
felixxmclaudep
authored andcommitted
Added testing for Django 3.2.
1 parent 62f5987 commit b54e954

File tree

6 files changed

+19
-1
lines changed

6 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ matrix:
1010
env: TOXENV=py36-django-30
1111
- python: 3.6
1212
env: TOXENV=py36-django-31
13+
- python: 3.6
14+
env: TOXENV=py36-django-32
1315
- python: 3.6
1416
env: TOXENV=py36-django-master
1517
- python: 3.7
@@ -18,6 +20,8 @@ matrix:
1820
env: TOXENV=py37-django-30
1921
- python: 3.7
2022
env: TOXENV=py37-django-31
23+
- python: 3.7
24+
env: TOXENV=py37-django-32
2125
- python: 3.7
2226
env: TOXENV=py37-django-master
2327
- python: 3.8
@@ -26,6 +30,8 @@ matrix:
2630
env: TOXENV=py38-django-30
2731
- python: 3.8
2832
env: TOXENV=py38-django-31
33+
- python: 3.8
34+
env: TOXENV=py38-django-32
2935
- python: 3.8
3036
env: TOXENV=py38-django-master
3137
- python: 3.9
@@ -34,6 +40,8 @@ matrix:
3440
env: TOXENV=py39-django-30
3541
- python: 3.9
3642
env: TOXENV=py39-django-31
43+
- python: 3.9
44+
env: TOXENV=py39-django-32
3745
- python: 3.9
3846
env: TOXENV=py39-django-master
3947
allow_failures:

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Unreleased
1616
(more about that in the documentation) with an appropriate
1717
``object_pk`` field.
1818
* Confirmed support for Python 3.9.
19-
19+
* Added support for Django 3.2.
2020

2121
2.0.0 (2020-12-20)
2222
------------------

django_comments/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class DjangoCommentsAdminConfig(AppConfig):
5+
default_auto_field = 'django.db.models.AutoField'
6+
name = 'django_comments'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
'Framework :: Django :: 2.2',
2727
'Framework :: Django :: 3.0',
2828
'Framework :: Django :: 3.1',
29+
'Framework :: Django :: 3.2',
2930
'Intended Audience :: Developers',
3031
'Natural Language :: English',
3132
'License :: OSI Approved :: BSD License',

tests/runtests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from django.conf import settings
1616
settings.configure(
1717
DATABASES={'default': {'ENGINE': 'django.db.backends.sqlite3'}},
18+
DEFAULT_AUTO_FIELD='django.db.models.BigAutoField',
1819
INSTALLED_APPS=[
1920
"django.contrib.auth",
2021
"django.contrib.contenttypes",

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py3{5,6,7,8,9}-django22
44
py3{6,7,8,9}-django30
55
py3{6,7,8,9}-django31
6+
py3{6,7,8,9}-django32
67
py3{6,7,8,9}-master
78

89
[testenv]
@@ -19,4 +20,5 @@ deps=
1920
django-22: Django>=2.2a1,<3.0
2021
django-30: Django>=3.0a1,<3.1
2122
django-31: Django>=3.1a1,<3.2
23+
django-32: Django>=3.2a1,<4.0
2224
django-master: https://github.com/django/django/archive/master.tar.gz

0 commit comments

Comments
 (0)