mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Add missing comma in documentation of permission composition (#6336)
This commit is contained in:
parent
facb433c89
commit
627eeb8202
|
@ -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