From b8fbd4d299a8b418203786719969dda6f80fc1a9 Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Mon, 4 Dec 2023 16:31:25 +0100 Subject: [PATCH] Support Django 5.0 (#464) * Support Django 5.0 * Add Django 5.0 to PyPI classifiers * Update the CHANGELOG.md --- CHANGELOG.md | 2 ++ pyproject.toml | 1 + tox.ini | 9 +++++---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d13ffbc..3ced4af7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added +- Add Django 5.0 support + ### Changed ### Removed diff --git a/pyproject.toml b/pyproject.toml index 3d651e22..75baf1d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index 6ba27d10..6b95ae56 100644 --- a/tox.ini +++ b/tox.ini @@ -2,10 +2,10 @@ env_list = py38-django{32,41,42}-{postgresql,sqlite} py39-django{32,41,42}-{postgresql,sqlite} - py310-django{32,41,42}-{postgresql,sqlite} - py311-django{32,41,42}-{postgresql,sqlite} - py311-django{42}-{postgresql-psycopg3} - py312-django{42}-{postgresql-psycopg3} + py310-django{32,41,42,50}-{postgresql,sqlite} + py311-django{32,41,42,50}-{postgresql,sqlite} + py311-django{42,50}-{postgresql-psycopg3} + py312-django{42,50}-{postgresql-psycopg3} [testenv] package = wheel @@ -27,6 +27,7 @@ deps = django32: Django==3.2 django41: Django>=4.1,<4.2 django42: Django>=4.2,<5 + django50: Django>=5.0,<5.1 postgresql: psycopg2-binary postgresql-psycopg3: psycopg commands =