This commit is contained in:
Grisha Kruglov 2017-04-15 22:51:16 +00:00 committed by GitHub
commit 5e623c4d6f

View File

@ -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
associated with the user.
"""
model = Account
serializer_class = AccountSerializer
permission_classes = [IsAccountAdminOrReadOnly]