filter for tag
This commit is contained in:
parent
ea830379fc
commit
f3f06fcf09
|
|
@ -10,7 +10,11 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, *args, **kwargs):
|
def handle(self, *args, **kwargs):
|
||||||
|
|
||||||
existing_establishment = Establishment.objects.filter(old_id__isnull=False)
|
existing_establishment = Establishment.objects.filter(
|
||||||
|
old_id__isnull=False
|
||||||
|
).filter(
|
||||||
|
tags__isnull=True
|
||||||
|
)
|
||||||
ESTABLISHMENT = 1
|
ESTABLISHMENT = 1
|
||||||
SHOP = 2
|
SHOP = 2
|
||||||
RESTAURANT = 3
|
RESTAURANT = 3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user