Merge pull request #1099 from diegoponciano/patch-1

small typo correction on ViewSet example code
This commit is contained in:
Tom Christie 2013-09-12 01:05:15 -07:00
commit 2139dafef6

View File

@ -23,7 +23,7 @@ Let's define a simple viewset that can be used to list or retrieve all the users
from django.shortcuts import get_object_or_404
from myapps.serializers import UserSerializer
from rest_framework import viewsets
from rest_framewor.responses import Response
from rest_framework.response import Response
class UserViewSet(viewsets.ViewSet):
"""