Entry page (we can search people)
This commit is contained in:
parent
8c1d902c30
commit
a8422411bc
5 changed files with 123 additions and 5 deletions
|
|
@ -42,4 +42,4 @@ class GuestViewSet(ReadProtectedModelViewSet):
|
|||
queryset = Guest.objects.all()
|
||||
serializer_class = GuestSerializer
|
||||
filter_backends = [SearchFilter]
|
||||
search_fields = ['$name', ]
|
||||
search_fields = ['$last_name', '$first_name', '$inviter__alias__name', '$inviter__alias__normalized_name', ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue