what the fuck are slugs with underscores
This commit is contained in:
parent
3732163006
commit
e8e68888f6
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue