mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
Update rest_framework/schemas/coreapi.py
This commit is contained in:
parent
f4acf42ed1
commit
b51cf3eabe
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user