diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md index 1062cb32c..854ccd9df 100644 --- a/docs/api-guide/viewsets.md +++ b/docs/api-guide/viewsets.md @@ -187,6 +187,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]