API Documentation
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
This commit is contained in:
parent
801f711994
commit
e60994e065
12 changed files with 2650 additions and 6 deletions
|
|
@ -32,4 +32,4 @@ class RoleViewSet(ReadOnlyProtectedModelViewSet):
|
|||
serializer_class = RoleSerializer
|
||||
filter_backends = [DjangoFilterBackend, SearchFilter]
|
||||
filterset_fields = ['name', 'permissions', 'for_club', 'memberships__user', ]
|
||||
SearchFilter = ['$name', '$for_club__name', ]
|
||||
search_fields = ['$name', '$for_club__name', ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue