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