You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use JSONParser and FormParser in the same ViewSet I got this error:
drf_yasg.errors.SwaggerGenerationError: cannot add form parameters when the request has a request body; did you forget to set an appropriate parser class on the view?
I need both parser in the viewset, How could I do it?
The text was updated successfully, but these errors were encountered:
When I use JSONParser and FormParser in the same ViewSet I got this error:
I need both parser in the viewset, How could I do it?
The text was updated successfully, but these errors were encountered: