-
-
Notifications
You must be signed in to change notification settings - Fork 102
add django 3.2 and 4.0 support #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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'), | ||
), | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
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,31,32} | ||
py{38,39}-dj{40} | ||
py{38,39}-djmain | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's add Django 4.0 support as well while we're here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't get any chance to explore Django 4 yet but I will see if it's a quick fix. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @smithdc1 Django 4.0 is not yet final so better to wait for the final release which is due in December. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's final in terms of features and changes. The only patches being applied to the 4.0 branch are bug fixes. Folk are adding the classifier to their packages already. See: https://pypi.org/search/?c=Framework+%3A%3A+Django+%3A%3A+4.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @smithdc1 I'm waiting for your review, thanks |
||
py38-{lint,docs} | ||
|
||
|
@@ -25,8 +26,9 @@ commands = | |
deps = | ||
-r{toxinidir}/tests/requirements.txt | ||
dj22: django>=2.2,<2.3 | ||
dj30: django>=3.0,<3.1 | ||
dj31: django>=3.1,<3.2 | ||
dj32: django>=3.2,<3.3 | ||
dj40: django>=4.0a1,<4.1 | ||
djmain: https://github.com/django/django/archive/main.tar.gz | ||
|
||
[testenv:py38-lint] | ||
|
Uh oh!
There was an error while loading. Please reload this page.