Fix options

This commit is contained in:
Виктор Гладких 2019-12-04 17:27:51 +03:00
parent 552e08e242
commit d0378ad14e

View File

@ -165,7 +165,7 @@ class EmployeeListCreateView(generics.ListCreateAPIView):
pagination_class = None
class EstablishmentEmployeeListView(generics.ListAPIView):
class EstablishmentEmployeeListView(generics.ListCreateAPIView):
"""Establishment emplyoees list view."""
permission_classes = (permissions.AllowAny, )
serializer_class = serializers.EstablishmentEmployeeBackSerializer