mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Update parsers.md
This commit is contained in:
parent
7a2c75ba14
commit
9bc6eb6c35
|
@ -35,7 +35,7 @@ The default set of parsers may be set globally, using the `DEFAULT_PARSER_CLASSE
|
||||||
}
|
}
|
||||||
|
|
||||||
You can also set the parsers used for an individual view, or viewset,
|
You can also set the parsers used for an individual view, or viewset,
|
||||||
using the `APIView` class based views.
|
using the `APIView` class-based views.
|
||||||
|
|
||||||
from rest_framework.parsers import JSONParser
|
from rest_framework.parsers import JSONParser
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
|
|
Loading…
Reference in New Issue
Block a user