diff --git a/rest_framework/filters.py b/rest_framework/filters.py index c7d7c3d43..c705b56a9 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -32,7 +32,7 @@ class BaseFilterBackend: def get_schema_fields(self, view): assert coreapi is not None, 'coreapi must be installed to use `get_schema_fields()`' 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) assert coreschema is not None, 'coreschema must be installed to use `get_schema_fields()`' return []