add type
This commit is contained in:
parent
2db127522d
commit
6ce2611c1b
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ for l in locations:
|
|||
l['modified'] = datetime.fromtimestamp(int(l['modified']))
|
||||
l['alternativeNames'] = tuple(l['alternativeNames'])
|
||||
l['geoname'] = l['name']
|
||||
l['type'] = 'city'
|
||||
p, c = Place.objects.get_or_create(name=l['name'])
|
||||
for key in l:
|
||||
if key != 'annotations':
|
||||
|
|
Loading…
Reference in a new issue