mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge e7cca54ff3
into fd72a814f8
This commit is contained in:
commit
5e623c4d6f
|
@ -200,6 +200,7 @@ Note that you can use any of the standard attributes or method overrides provide
|
||||||
A simple ViewSet for viewing and editing the accounts
|
A simple ViewSet for viewing and editing the accounts
|
||||||
associated with the user.
|
associated with the user.
|
||||||
"""
|
"""
|
||||||
|
model = Account
|
||||||
serializer_class = AccountSerializer
|
serializer_class = AccountSerializer
|
||||||
permission_classes = [IsAccountAdminOrReadOnly]
|
permission_classes = [IsAccountAdminOrReadOnly]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user