distillery_type #3
This commit is contained in:
parent
9b40d8e48e
commit
fab351d800
|
|
@ -68,7 +68,8 @@ class EstablishmentRetrieveView(EstablishmentMixinView, generics.RetrieveAPIView
|
|||
serializer_class = serializers.EstablishmentDetailSerializer
|
||||
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().with_extended_related()
|
||||
return super().get_queryset().with_extended_related() \
|
||||
.with_certain_tag_category_related('distillery_type', 'distillery_type')
|
||||
|
||||
|
||||
class EstablishmentMobileRetrieveView(EstablishmentRetrieveView):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user