rm publish filter from BO establishment api

This commit is contained in:
alex 2020-01-13 11:25:22 +03:00
parent 2c888d1c3a
commit d1572cbb56

View File

@ -19,7 +19,7 @@ class EstablishmentMixinViews:
def get_queryset(self):
"""Overrided method 'get_queryset'."""
return models.Establishment.objects.published().with_base_related()
return models.Establishment.objects.with_base_related()
class EstablishmentListCreateView(EstablishmentMixinViews, generics.ListCreateAPIView):