mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 03:20: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
|
return request.method in SAFE_METHODS
|
||||||
|
|
||||||
class ExampleView(APIView):
|
class ExampleView(APIView):
|
||||||
permission_classes = (IsAuthenticated|ReadOnly)
|
permission_classes = (IsAuthenticated|ReadOnly,)
|
||||||
|
|
||||||
def get(self, request, format=None):
|
def get(self, request, format=None):
|
||||||
content = {
|
content = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user