mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Merge pull request #5300 from ribalba/patch-1
Added the django user model
This commit is contained in:
commit
83c535e9cc
|
@ -23,6 +23,7 @@ For example:
|
|||
from rest_framework.views import APIView
|
||||
from rest_framework.response import Response
|
||||
from rest_framework import authentication, permissions
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
class ListUsers(APIView):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user