Skip to content

Commit

Permalink
add django 3.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Umar Asghar committed Sep 23, 2021
1 parent be2e781 commit d276e93
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ master (unreleased)
- Added support for Python 3.9
- Dropped support for Django versions 2.1 and below
- Added suppport for Django 3.1
- Added suppport for Django 3.2

4.0 (2020-01-04)
-----------------
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ directory or on ReadTheDocs: https://django-robots.readthedocs.io/

Supported Django versions
-------------------------

* Django 3.2
* Django 3.1
* Django 3.0
* Django 2.2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ def read(*parts):
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
]
)
23 changes: 23 additions & 0 deletions src/robots/migrations/0002_alter_id_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2 on 2021-09-23 12:14

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('robots', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='rule',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='url',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist =
# list of supported Django/Python versions:
# https://docs.djangoproject.com/en/3.1/faq/install/#what-python-version-can-i-use-with-django
py{36,37,38,39}-dj{22,30,31}
py{36,37,38,39}-dj{22,30,31,32}
py{38,39}-djmain
py38-{lint,docs}

Expand All @@ -27,6 +27,7 @@ deps =
dj22: django>=2.2,<2.3
dj30: django>=3.0,<3.1
dj31: django>=3.1,<3.2
dj32: django>=3.2,<3.3
djmain: https://github.com/django/django/archive/main.tar.gz

[testenv:py38-lint]
Expand Down

0 comments on commit d276e93

Please sign in to comment.