django-rest-framework-docs icon indicating copy to clipboard operation
django-rest-framework-docs copied to clipboard

DRF docs not taking the data fields

Open shreyasmrs opened this issue 8 years ago • 1 comments

Hi I have created api calls for my django server and drf docs is taking the all apis from urls pattern and its functions(GET, POST etc from APIViews). The problem is its not taking any field which needs to be provided to POST data. The data tab is missing in drf docs. Could you please resolve this issue

Thanks in advance image

shreyasmrs avatar May 10 '17 11:05 shreyasmrs

Hey, @shreyasmrs Have you set up serializer_class = inside your views?

iamhssingh avatar Jun 19 '17 14:06 iamhssingh