what the fuck are slugs with underscores

This commit is contained in:
Laura Klünder 2023-12-26 17:19:37 +01:00
parent 3732163006
commit e8e68888f6

View file

@ -76,7 +76,7 @@ class Command(BaseCommand):
}
for item in items:
item.slug = item.slug.lower()
item.slug = item.slug.lower().replace('_', '-')
if item.polygons is None and item.location is None:
print(f"SKIPPING: {item.slug} / {item.id} has no polygon or location")