From 1da75441ea2fd212601d74dd7d8609b4a2a378c8 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Thu, 16 Nov 2023 15:37:49 +0000 Subject: [PATCH] Rotate deprecation warnings --- wagtail/utils/deprecation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wagtail/utils/deprecation.py b/wagtail/utils/deprecation.py index fab5d788cd..428f6e7c3f 100644 --- a/wagtail/utils/deprecation.py +++ b/wagtail/utils/deprecation.py @@ -2,14 +2,14 @@ import warnings from importlib import import_module -class RemovedInWagtail60Warning(DeprecationWarning): +class RemovedInWagtail70Warning(DeprecationWarning): pass -removed_in_next_version_warning = RemovedInWagtail60Warning +removed_in_next_version_warning = RemovedInWagtail70Warning -class RemovedInWagtail70Warning(PendingDeprecationWarning): +class RemovedInWagtail80Warning(PendingDeprecationWarning): pass