From b51cf3eabe78ebfb51516ecfe657959835a7a097 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:43:50 +0600 Subject: [PATCH] Update rest_framework/schemas/coreapi.py --- rest_framework/schemas/coreapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas/coreapi.py b/rest_framework/schemas/coreapi.py index f49c1ea54..3a31ce2b8 100644 --- a/rest_framework/schemas/coreapi.py +++ b/rest_framework/schemas/coreapi.py @@ -354,7 +354,7 @@ class AutoSchema(ViewInspector): """ super().__init__() if coreapi is not None: - warnings.warn('CoreAPI compatibility is deprecated and will be removed in DRF 3.15', RemovedInDRF315Warning) + warnings.warn('CoreAPI compatibility is deprecated and will be removed in DRF 3.17', RemovedInDRF317Warning) if manual_fields is None: manual_fields = []