From c5b4f4651774f3335f84ebdd2c4f5944b2ffd0d2 Mon Sep 17 00:00:00 2001 From: David Cain Date: Wed, 21 Sep 2022 10:47:15 -0700 Subject: [PATCH] Remove old deprecation classes for 3.14 release 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 --- rest_framework/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index 568e080744..d53b2cb4de 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -29,13 +29,5 @@ default_app_config = 'rest_framework.apps.RestFrameworkConfig' -class RemovedInDRF313Warning(DeprecationWarning): - pass - - -class RemovedInDRF314Warning(PendingDeprecationWarning): - pass - - class RemovedInDRF315Warning(PendingDeprecationWarning): pass