Open timmyomahony opened 6 years ago
I'm confused by the import configuration settings and general workflow.
- Can I supply the files to be imported into the DB myself (by downloading manually and placing in the correct data folder), in other words can I skip the "download" stage of the import command
- Can I restrict what countries, cities etc. are imported? For example, I only want US cities to be imported.
Thanks
I don't know about 1 point. About 2: https://github.com/coderholic/django-cities#download-files You can see whole list here: http://download.geonames.org/export/dump/
CITIES_FILES = {
'city': {
'filenames': ["US.zip"],
'urls': ['http://download.geonames.org/export/dump/'+'{filename}']
},
}
What about the regions / postal codes? There is no way to filter for these models
I'm confused by the import configuration settings and general workflow.
Thanks