wtf are slugs that aren't lowercase?!
This commit is contained in:
parent
379400c22a
commit
731c041467
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ class Command(BaseCommand):
|
|||
}
|
||||
|
||||
for item in items:
|
||||
item.slug = item.slug.lower()
|
||||
|
||||
if item.polygons is None and item.location is None:
|
||||
print(f"SKIPPING: {item.slug} / {item.id} has no polygon or location")
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue