From 9cbd512d754cb819ba8061cd76375c3db593d244 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 18 Apr 2023 11:02:33 +0100 Subject: [PATCH 1/2] Fix formatting in changes.rst --- docs/changes.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 3d573321..68b25ea2 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -5,9 +5,11 @@ v3.0.0 (future) ~~~~~~~~~~~~~~~~~~~ * Refactor database backend -Backward incompatible changes: -remove 'constance.backends.database' from INSTALLED_APPS + Backward incompatible changes: + remove ``'constance.backends.database'`` from ``INSTALLED_APPS`` + * Dropped support for python < 3.7 and django < 3.2 + * Example app now supports django 4.1 v2.10.0 (unreleased) From d65b916189576c5179fc4addfb40f43832bd2233 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 18 Apr 2023 11:04:48 +0100 Subject: [PATCH 2/2] Add official support for Django 4.2 --- docs/changes.rst | 2 ++ setup.py | 1 + tox.ini | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changes.rst b/docs/changes.rst index 68b25ea2..6cff8124 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -12,6 +12,8 @@ v3.0.0 (future) * Example app now supports django 4.1 +* Add support for django 4.2 + v2.10.0 (unreleased) ~~~~~~~~~~~~~~~~~~ diff --git a/setup.py b/setup.py index 47e2a205..7e3062c2 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ def find_version(*file_paths): 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', 'Framework :: Django :: 4.1', + 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', diff --git a/tox.ini b/tox.ini index 600099e5..448f76aa 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ requires = envlist = py{37,38,39,310,py3}-dj{32}-{unittest,pytest} py{38,39,310}-dj{40}-{unittest,pytest} - py{38,39,310,311}-dj{41}-{unittest,pytest} + py{38,39,310,311}-dj{41,42}-{unittest,pytest} py{310,311}-dj{main}-{unittest,pytest} [testenv] @@ -15,6 +15,7 @@ deps = dj32: Django>=3.2,<4 dj40: Django>=4.0,<4.1 dj41: Django>=4.1,<4.2 + dj42: Django>=4.2,<5.0 djmain: https://github.com/django/django/archive/main.tar.gz pytest: pytest pytest: pytest-cov