mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Merge ae50bb9275
into fd72a814f8
This commit is contained in:
commit
0287ad6004
|
@ -75,7 +75,8 @@ class IsAuthenticatedOrReadOnly(BasePermission):
|
|||
class DjangoModelPermissions(BasePermission):
|
||||
"""
|
||||
The request is authenticated using `django.contrib.auth` permissions.
|
||||
See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions
|
||||
See:
|
||||
https://docs.djangoproject.com/en/dev/topics/auth/customizing/#custom-permissions
|
||||
|
||||
It ensures that the user is authenticated, and has the appropriate
|
||||
`add`/`change`/`delete` permissions on the model.
|
||||
|
|
Loading…
Reference in New Issue
Block a user