From 6ce2611c1b6f0dbc8f060315fb39345d414ccb8a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 17 Dec 2011 14:05:09 +0530 Subject: [PATCH] add type --- import_padma.py | 1 + 1 file changed, 1 insertion(+) 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':