This commit is contained in:
Tom Christie 2013-09-12 20:27:36 +01:00
commit 2da9ab8cc5

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 django.shortcuts import get_object_or_404
from myapps.serializers import UserSerializer from myapps.serializers import UserSerializer
from rest_framework import viewsets from rest_framework import viewsets
from rest_framewor.responses import Response from rest_framework.response import Response
class UserViewSet(viewsets.ViewSet): class UserViewSet(viewsets.ViewSet):
""" """