mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Remove old deprecation classes for 3.14 release (#8664)
When DRF 3.14 is released, these exception classes will be meaningless, so we can delete them (this has always been done). A previous PR removed the last incidence of `RemovedInDRF313Warning`, but didn't outright delete the class for fear of shipping a breaking change: https://github.com/encode/django-rest-framework/pull/8589
This commit is contained in:
parent
c6cafc9725
commit
f34f1562ff
|
@ -29,13 +29,5 @@ if django.VERSION < (3, 2):
|
||||||
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
|
default_app_config = 'rest_framework.apps.RestFrameworkConfig'
|
||||||
|
|
||||||
|
|
||||||
class RemovedInDRF313Warning(DeprecationWarning):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class RemovedInDRF314Warning(PendingDeprecationWarning):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class RemovedInDRF315Warning(PendingDeprecationWarning):
|
class RemovedInDRF315Warning(PendingDeprecationWarning):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user