rm publish filter from BO establishment api
This commit is contained in:
parent
2c888d1c3a
commit
d1572cbb56
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user