mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Update renderers.md
This commit is contained in:
parent
ddcf4c89d8
commit
9dfdce8e4a
|
@ -28,7 +28,7 @@ The default set of renderers may be set globally, using the `DEFAULT_RENDERER_CL
|
||||||
}
|
}
|
||||||
|
|
||||||
You can also set the renderers used for an individual view, or viewset,
|
You can also set the renderers used for an individual view, or viewset,
|
||||||
using the `APIView` class based views.
|
using the `APIView` class-based views.
|
||||||
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from rest_framework.renderers import JSONRenderer
|
from rest_framework.renderers import JSONRenderer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user