Update rest_framework/schemas/coreapi.py

This commit is contained in:
Asif Saif Uddin 2023-06-12 12:43:50 +06:00 committed by GitHub
parent f4acf42ed1
commit b51cf3eabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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