Add Django 4.0 support

This commit is contained in:
David Wobrock committed 2022-01-28 21:03:12 +01:00
1 parent 3da14f769e
commit 3fbc720650
4 files changed
+6 -2

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
- Drop support for Python 2.7, 3.5 and 3.6
- Add support for Python 3.10
- Drop support for Django 1.11, 2.0, 2.1, 3.0 and 3.1
- Add support for Django 4.0
- Fix index creation detection when table is being created in the transaction (issue #178)
## 3.0.1
+1
View File
@@ -53,6 +53,7 @@ setup(
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
+2 -2
View File
@@ -13,7 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from django.urls import path
urlpatterns = [url("admin/", admin.site.urls)]
urlpatterns = [path("admin/", admin.site.urls)]
+2
View File
@@ -2,6 +2,7 @@
envlist =
py{37,38,39}-django22
py{37,38,39,310}-django32
py{38,39,310}-django40
lint
coverage
@@ -19,6 +20,7 @@ pip_pre = true
deps =
django22: django>=2.2,<2.3
django32: django>=3.2,<3.3
django40: django>=4.0,<4.1
[testenv:lint]
basepython = python3.8