From 0476fad22a8e9d8e7f3bc25a778d81c7063edd50 Mon Sep 17 00:00:00 2001 From: jelmert Date: Wed, 28 Aug 2024 09:48:40 +0200 Subject: [PATCH] Add formal support for django 5.1 --- CHANGES.rst | 2 +- setup.py | 1 + tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 2606baa3..f10c32ab 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,7 +3,7 @@ Changelog To be released -------------- - +- Add formal support for `Django 5.1` - Remove MonitorField deprecation warning. `None` - instead of `django.utils.timezone.now` will be used when nullable and no default provided (GH-#599) - Add deprecation warning for MonitorField. The default value will be `None` diff --git a/setup.py b/setup.py index b9babe0f..694e172b 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ def long_desc(root_path): 'Framework :: Django :: 4.1', 'Framework :: Django :: 4.2', 'Framework :: Django :: 5.0', + 'Framework :: Django :: 5.1', ], zip_safe=False, package_data={ diff --git a/tox.ini b/tox.ini index f77e732c..0e7c6d3e 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py{38,39,310,311}-dj{41} py{38,39,310,311}-dj{42} py{310,311,312}-dj{50} + py{310,311,312}-dj{51} py{310,311,312}-dj{main} flake8 isort @@ -28,6 +29,7 @@ deps = dj41: Django==4.1.* dj42: Django==4.2.* dj50: Django==5.0.* + dj51: Django==5.1.* djmain: https://github.com/django/django/archive/main.tar.gz ignore_outcome = djmain: True