Merge pull request #3572 from jamesbeith/docs-missing-import-for-example

Adds import for `Response`
This commit is contained in:
Xavier Ordoquy 2015-10-29 16:55:35 +01:00
commit 48b0efbe2f

View File

@ -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