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 2019-10-29 08:51:15 +00:00
parent 8cc7e942f5
commit 95299e76b9

View File

@ -2,14 +2,14 @@ import warnings
from importlib import import_module
class RemovedInWagtail28Warning(DeprecationWarning):
class RemovedInWagtail29Warning(DeprecationWarning):
pass
removed_in_next_version_warning = RemovedInWagtail28Warning
removed_in_next_version_warning = RemovedInWagtail29Warning
class RemovedInWagtail29Warning(PendingDeprecationWarning):
class RemovedInWagtail210Warning(PendingDeprecationWarning):
pass