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:
David Cain 2022-09-22 02:32:26 -07:00 committed by GitHub
parent c6cafc9725
commit f34f1562ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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