0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Rotate deprecation warnings

This commit is contained in:
Matt Westcott 2023-11-16 15:37:49 +00:00
parent 7e774971fa
commit 1da75441ea

View File

@ -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