mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
Merge pull request #1099 from diegoponciano/patch-1
small typo correction on ViewSet example code
This commit is contained in:
commit
2139dafef6
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user