mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 19:10:12 +03:00
Add missing comma in documentation of permission composition
This commit is contained in:
parent
0f5dfe8b3c
commit
5a19fb026d
|
@ -113,7 +113,7 @@ Provided they inherit from `rest_framework.permissions.BasePermission`, permissi
|
|||
return request.method in SAFE_METHODS
|
||||
|
||||
class ExampleView(APIView):
|
||||
permission_classes = (IsAuthenticated|ReadOnly)
|
||||
permission_classes = (IsAuthenticated|ReadOnly,)
|
||||
|
||||
def get(self, request, format=None):
|
||||
content = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user