Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to import all cities in Django_cities_light

I want to import the cities of USA and Canada in Django cities light, so I my settings.py file looks alike

 CITIES_LIGHT_TRANSLATION_LANGUAGES = ['en']
 CITIES_LIGHT_INCLUDE_COUNTRIES = ['CA','USA']
 CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT',]

After this :

 python manage.py migrate cities_light  
 python manage.py manage cities_light

But after all this :

I just got the cities of Canada not USA

I again did the step but data still not dumps , Any suggestion?

Sign In or Register to comment.