mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Docs whitespace fix.
This commit is contained in:
parent
572107281f
commit
d8eb9e6d45
|
@ -19,8 +19,8 @@ Typically when using the generic views, you'll override the view, and set severa
|
|||
|
||||
from django.contrib.auth.models import User
|
||||
from myapp.serializers import UserSerializer
|
||||
from rest_framework import generics
|
||||
from rest_framework.permissions import IsAdminUser
|
||||
from rest_framework import generics
|
||||
from rest_framework.permissions import IsAdminUser
|
||||
|
||||
class UserList(generics.ListCreateAPIView):
|
||||
queryset = User.objects.all()
|
||||
|
|
Loading…
Reference in New Issue
Block a user