Merge branch 'feature/eest_empl_options' into 'develop'

Fix options

See merge request gm/gm-backend!170
This commit is contained in:
d.kuzmenko 2019-12-04 15:47:42 +00:00
commit 6d80678564

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