add filter for transfer establishment by fr
This commit is contained in:
parent
4e76fc966e
commit
4108de5931
|
|
@ -14,7 +14,7 @@ def transfer_establishment():
|
|||
result = []
|
||||
|
||||
# todo: filter(location__city__name__icontains='paris')
|
||||
old_establishments = Establishments.objects.exclude(
|
||||
old_establishments = Establishments.objects.filter(location__city__country_code_2='fr').exclude(
|
||||
Q(type='Wineyard') |
|
||||
Q(location__timezone__isnull=True)
|
||||
).prefetch_related(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user