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:
parent
7e774971fa
commit
1da75441ea
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user