0
0
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:
Matt Westcott 2016-12-16 15:09:27 +00:00
parent 4c5cc5b286
commit 8f5e07d530

View File

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