mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-16 07:02:10 +03:00
Add official support for Django 5.1
Following the supported Python versions: https://docs.djangoproject.com/en/stable/faq/install/
This commit is contained in:
parent
f593f5752c
commit
940f5666e2
|
@ -55,7 +55,7 @@ Some reasons you might want to use REST framework:
|
|||
# Requirements
|
||||
|
||||
* Python 3.8+
|
||||
* Django 5.0, 4.2
|
||||
* Django 4.2, 5.0, 5.1
|
||||
|
||||
We **highly recommend** and only officially support the latest patch release of
|
||||
each Python and Django series.
|
||||
|
|
|
@ -87,7 +87,7 @@ continued development by **[signing up for a paid plan][funding]**.
|
|||
|
||||
REST framework requires the following:
|
||||
|
||||
* Django (4.2, 5.0)
|
||||
* Django (4.2, 5.0, 5.1)
|
||||
* Python (3.8, 3.9, 3.10, 3.11, 3.12)
|
||||
|
||||
We **highly recommend** and only officially support the latest patch release of
|
||||
|
|
1
setup.py
1
setup.py
|
@ -91,6 +91,7 @@ setup(
|
|||
'Framework :: Django',
|
||||
'Framework :: Django :: 4.2',
|
||||
'Framework :: Django :: 5.0',
|
||||
'Framework :: Django :: 5.1',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: OS Independent',
|
||||
|
|
13
tox.ini
13
tox.ini
|
@ -1,9 +1,9 @@
|
|||
[tox]
|
||||
envlist =
|
||||
{py38,py39}-{django42}
|
||||
{py310}-{django42,django50,djangomain}
|
||||
{py311}-{django42,django50,djangomain}
|
||||
{py312}-{django42,django50,djangomain}
|
||||
{py310}-{django42,django50,django51,djangomain}
|
||||
{py311}-{django42,django50,django51,djangomain}
|
||||
{py312}-{django42,django50,django51,djangomain}
|
||||
base
|
||||
dist
|
||||
docs
|
||||
|
@ -17,6 +17,7 @@ setenv =
|
|||
deps =
|
||||
django42: Django>=4.2,<5.0
|
||||
django50: Django>=5.0,<5.1
|
||||
django51: Django>=5.1,<5.2
|
||||
djangomain: https://github.com/django/django/archive/main.tar.gz
|
||||
-rrequirements/requirements-testing.txt
|
||||
-rrequirements/requirements-optionals.txt
|
||||
|
@ -42,12 +43,6 @@ deps =
|
|||
-rrequirements/requirements-testing.txt
|
||||
-rrequirements/requirements-documentation.txt
|
||||
|
||||
[testenv:py38-djangomain]
|
||||
ignore_outcome = true
|
||||
|
||||
[testenv:py39-djangomain]
|
||||
ignore_outcome = true
|
||||
|
||||
[testenv:py310-djangomain]
|
||||
ignore_outcome = true
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user