Open erwol opened 6 years ago
Hello, having the next configuration: CITIES_LIGHT_TRANSLATION_LANGUAGES = ['es', 'en'] CITIES_LIGHT_INCLUDE_COUNTRIES = ['ES'] CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT', 'PPLX',]
CITIES_LIGHT_TRANSLATION_LANGUAGES = ['es', 'en']
CITIES_LIGHT_INCLUDE_COUNTRIES = ['ES']
CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT', 'PPLX',]
almost no cities (only 618 out of 8.116) are imported, at least, from Spain. All the regions are properly imported.
I'm using postgres, django-cities-light==3.3.0, Django==1.11.7.
Any idea? Thanks!
Did you try to debug the import process with pdb ?
Hello, having the next configuration:
CITIES_LIGHT_TRANSLATION_LANGUAGES = ['es', 'en']
CITIES_LIGHT_INCLUDE_COUNTRIES = ['ES']
CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT', 'PPLX',]
almost no cities (only 618 out of 8.116) are imported, at least, from Spain. All the regions are properly imported.
I'm using postgres, django-cities-light==3.3.0, Django==1.11.7.
Any idea? Thanks!