From f34f1562ffc880078ac8517dcd818f7cc56edff5 Mon Sep 17 00:00:00 2001 From: David Cain Date: Thu, 22 Sep 2022 02:32:26 -0700 Subject: [PATCH] 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 --- rest_framework/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index 568e08074..d53b2cb4d 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -29,13 +29,5 @@ if django.VERSION < (3, 2): default_app_config = 'rest_framework.apps.RestFrameworkConfig' -class RemovedInDRF313Warning(DeprecationWarning): - pass - - -class RemovedInDRF314Warning(PendingDeprecationWarning): - pass - - class RemovedInDRF315Warning(PendingDeprecationWarning): pass