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 = []