Skip to content

Commit 627eeb8

Browse files
JerzySpendelrpkilby
authored andcommitted
Add missing comma in documentation of permission composition (#6336)
1 parent facb433 commit 627eeb8

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
@@ -113,7 +113,7 @@ Provided they inherit from `rest_framework.permissions.BasePermission`, permissi
113113
return request.method in SAFE_METHODS
114114

115115
class ExampleView(APIView):
116-
permission_classes = (IsAuthenticated|ReadOnly)
116+
permission_classes = (IsAuthenticated|ReadOnly,)
117117

118118
def get(self, request, format=None):
119119
content = {

0 commit comments

Comments
 (0)