conflicts.viewsets module¶
-
class
conflicts.viewsets.
IsEditorialAdministrator
[source]¶ Bases:
rest_framework.permissions.BasePermission
Check if User is Editorial Administrator to allow permission to API.
-
class
conflicts.viewsets.
ConflictOfInterestViewSet
(**kwargs)[source]¶ Bases:
rest_framework.viewsets.ModelViewSet
API view for ConflictOfInterest.
-
serializer_class
¶
-
permission_classes
= [<class 'rest_framework.permissions.IsAuthenticated'>, <class 'conflicts.viewsets.IsEditorialAdministrator'>]¶
-
basename
= None¶
-
description
= None¶
-
detail
= None¶
-
name
= None¶
-
suffix
= None¶
-