We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6245d commit 4249245Copy full SHA for 4249245
docs/api-guide/parsers.md
@@ -54,6 +54,7 @@ Or, if you're using the `@api_view` decorator with function based views.
54
55
from rest_framework.decorators import api_view
56
from rest_framework.decorators import parser_classes
57
+ from rest_framework.parsers import JSONParser
58
59
@api_view(['POST'])
60
@parser_classes((JSONParser,))
0 commit comments