coderholic/django-cities

City and postal code relationship

jeromecaisip opened this issue · 5 comments

Why does the city property of the postal_code object return None
or the city.postal_code.all() retruns an empty queryset.?
I did --import=all.
Did I miss anything on the setup?

I am facing same issue/

same... can't tell what i'm doing it wrong either. Also on the admin page, postal would hangs on individual postal_code.

[edit]:
I think I find out the cause; from default the city_id isn't populated for example:

postgres@/tmp:abc> select city_id from cities_postalcode where code='012312';
+---------+
| city_id |
|---------|
| <null>  |
+---------+

Same here.

Also I think the project is dead.

Is there any fork is someone interested to fork this project?

Sorry, will get to. updating it shortly

@arthanson
Do you need support? I am not able to import postalcodes at the moment at all.

I could provide testcases if this would help you