diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md index a1666c011..2f51be6c1 100644 --- a/docs/api-guide/viewsets.md +++ b/docs/api-guide/viewsets.md @@ -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]