0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Rotate deprecation warnings

This commit is contained in:
Matt Westcott 2018-12-07 11:23:36 +00:00 committed by Matt Westcott
parent c487062fa8
commit abf753b5ad

View File

@ -1,9 +1,9 @@
class RemovedInWagtail25Warning(DeprecationWarning):
class RemovedInWagtail26Warning(DeprecationWarning):
pass
removed_in_next_version_warning = RemovedInWagtail25Warning
removed_in_next_version_warning = RemovedInWagtail26Warning
class RemovedInWagtail26Warning(PendingDeprecationWarning):
class RemovedInWagtail27Warning(PendingDeprecationWarning):
pass