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 2017-02-09 00:04:12 +00:00
parent 6ae020c0ef
commit cdf4ae7528

View File

@ -1,12 +1,12 @@
from __future__ import absolute_import, unicode_literals
class RemovedInWagtail110Warning(DeprecationWarning):
class RemovedInWagtail111Warning(DeprecationWarning):
pass
removed_in_next_version_warning = RemovedInWagtail110Warning
removed_in_next_version_warning = RemovedInWagtail111Warning
class RemovedInWagtail111Warning(PendingDeprecationWarning):
class RemovedInWagtail112Warning(PendingDeprecationWarning):
pass