mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Merge pull request #3572 from jamesbeith/docs-missing-import-for-example
Adds import for `Response`
This commit is contained in:
commit
48b0efbe2f
|
@ -18,6 +18,7 @@ Here's an example of a view that returns a list of "Profile" instances, rendered
|
|||
|
||||
from my_project.example.models import Profile
|
||||
from rest_framework.renderers import TemplateHTMLRenderer
|
||||
from rest_framework.response import Response
|
||||
from rest_framework.views import APIView
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user