coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
927 stars 371 forks source link

Postal codes are not being loaded #135

Closed erwinfeser closed 7 years ago

erwinfeser commented 7 years ago

I am using your master branch (commit a74e4e5f68a5669f581e65bda43c2bf862289d74) and: Python 3.5.2 Django 1.10.2 (I tried the last version uploaded to pypi too, but that does not work with this Python/Django versions)

Import process seems to work fine, I do not see errors. python manage.py cities --import postal_code --force screenshot from 2016-10-21 15-14-47

All tables are populated but I have 0 postal codes.

erwinfeser commented 7 years ago

PR: https://github.com/coderholic/django-cities/pull/136

coderholic commented 7 years ago

Zip codes aren't imported by default, you need to specify the countries you'd like to import them for in the config file. See the readme.

On 21 October 2016 at 11:12, Erwin Feser notifications@github.com wrote:

I am using: Python 3.5.2 Django 1.10.2

Import process seems to work fine, I do not see errors [image: screenshot from 2016-10-21 15-11-04] https://cloud.githubusercontent.com/assets/567788/19607488/9ab4338a-97a0-11e6-9b3b-73b7549cdea4.png

All tables are populated but I have 0 zip codes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/coderholic/django-cities/issues/135, or mute the thread https://github.com/notifications/unsubscribe-auth/AABl31U9g3M1WtQPzvg6-Cx0AXEj2JR3ks5q2QCMgaJpZM4Kddmd .