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
8cc7e942f5
commit
95299e76b9
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user