coderholic/django-cities — pull request #13 by Kometes (2011-11-27 21:16:35+00:00)
Title: Largely rewritten -- download / import directly into db, admin level 2, hierarchy, localized names, postal codes

- Data pulls from GeoNames and imports directly into database, no fixtures
- Downloads and updates only if data has changed
- All ids are same as GeoNames', so updates only overwrite matching ids
- Admin level 2 (counties) added
- Hiearchy parsing, districts now use hierarchy data to find correct city
- Postal codes and their dynamically created models (by country) added
- Localized / Alternate names and their dynamically created models (by locale) added
- Main geo name is now ASCII instead of UTF-8 (better for coding / search)
- The UTF-8 standard name is still available as a fallback if name isn't localized
- Using cities5000 instead of cities1000 (half the size)
- Fast imports using dict index lookups instead of db
- Fixed latitude / longitude mixup
- Full admin interface
- Reduced to one command 'cities' with options
- Cleaned up code and logging