Skip to content

Commit c78f992

Browse files
authored
Make the doc on overriding the default permission classes more clear. (encode#7661)
1 parent 4f3cd8c commit c78f992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Or, if you're using the `@api_view` decorator with function based views.
116116
}
117117
return Response(content)
118118

119-
__Note:__ when you set new permission classes through class attribute or decorators you're telling the view to ignore the default list set over the __settings.py__ file.
119+
__Note:__ when you set new permission classes via the class attribute or decorators you're telling the view to ignore the default list set in the __settings.py__ file.
120120

121121
Provided they inherit from `rest_framework.permissions.BasePermission`, permissions can be composed using standard Python bitwise operators. For example, `IsAuthenticatedOrReadOnly` could be written:
122122

0 commit comments

Comments
 (0)