mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
Rotate deprecation warning classes
This commit is contained in:
parent
a634045b6c
commit
a78e80e9c6
@ -2,14 +2,14 @@ import warnings
|
|||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
||||||
|
|
||||||
class RemovedInWagtail50Warning(DeprecationWarning):
|
class RemovedInWagtail60Warning(DeprecationWarning):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
removed_in_next_version_warning = RemovedInWagtail50Warning
|
removed_in_next_version_warning = RemovedInWagtail60Warning
|
||||||
|
|
||||||
|
|
||||||
class RemovedInWagtail60Warning(PendingDeprecationWarning):
|
class RemovedInWagtail70Warning(PendingDeprecationWarning):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user