From 7675c724f53ea68635ec65f57aa1623cdb5b5c8a Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:43:08 +0600 Subject: [PATCH] Update rest_framework/pagination.py --- rest_framework/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py index 5bff608f4..c7d41d0a5 100644 --- a/rest_framework/pagination.py +++ b/rest_framework/pagination.py @@ -937,7 +937,7 @@ class CursorPagination(BasePagination): 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()`' fields = [ coreapi.Field(