From e7cca54ff3de1744d8fd08ce6a6c0a8f9339773c Mon Sep 17 00:00:00 2001 From: Grigory Kruglov Date: Mon, 7 Oct 2013 23:47:28 -0700 Subject: [PATCH] Add model attribute in docs --- docs/api-guide/viewsets.md | 1 + 1 file changed, 1 insertion(+) 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]