add django 5.2a1 initial support (#9634)

* add django 5.2a1 for initial testing

* declare django 5.2 support

* change in docs
This commit is contained in:
Asif Saif Uddin 2025-02-14 14:49:56 +06:00 committed by GitHub
parent 28d0261afc
commit f30c0e2eed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 6 deletions

View File

@ -55,7 +55,7 @@ Some reasons you might want to use REST framework:
# Requirements
* Python 3.8+
* Django 4.2, 5.0, 5.1
* Django 4.2, 5.0, 5.1, 5.2
We **highly recommend** and only officially support the latest patch release of
each Python and Django series.

View File

@ -87,7 +87,7 @@ continued development by **[signing up for a paid plan][funding]**.
REST framework requires the following:
* Django (4.2, 5.0, 5.1)
* Django (4.2, 5.0, 5.1, 5.2)
* Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13)
We **highly recommend** and only officially support the latest patch release of

View File

@ -92,6 +92,7 @@ setup(
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
'Framework :: Django :: 5.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',

View File

@ -1,10 +1,10 @@
[tox]
envlist =
{py38,py39}-{django42}
{py310}-{django42,django50,django51,djangomain}
{py311}-{django42,django50,django51,djangomain}
{py312}-{django42,django50,django51,djangomain}
{py313}-{django51,djangomain}
{py310}-{django42,django51,django52,djangomain}
{py311}-{django42,django51,django52,djangomain}
{py312}-{django42,django51,django52,djangomain}
{py313}-{django51,django52,djangomain}
base
dist
docs
@ -19,6 +19,7 @@ deps =
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django52: Django>=5.2a1,<6.0
djangomain: https://github.com/django/django/archive/main.tar.gz
-rrequirements/requirements-testing.txt
-rrequirements/requirements-optionals.txt