From ebd6c0a57484a0a377a3df0056540c14a0fe0ed9 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Mon, 6 Apr 2020 16:30:49 +0200 Subject: [PATCH] Updated deprecation warnings for 3.12 --- rest_framework/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index b6f3f65ce..8f2bc4466 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -25,9 +25,9 @@ ISO_8601 = 'iso-8601' default_app_config = 'rest_framework.apps.RestFrameworkConfig' -class RemovedInDRF312Warning(DeprecationWarning): +class RemovedInDRF313Warning(DeprecationWarning): pass -class RemovedInDRF313Warning(PendingDeprecationWarning): +class RemovedInDRF314Warning(PendingDeprecationWarning): pass