diff --git a/import_padma.py b/import_padma.py index e2371a2..93af787 100755 --- a/import_padma.py +++ b/import_padma.py @@ -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':