-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region is None for City model object #195
Comments
Can you reproduce this after running the import command? And what are the relevant |
@blag I don't have any CITIES_ settings. import all returns migrations error:
also I tried to import only regions. No any errors but it doesn't help. |
You already have regions, so I wouldn't expect importing them again to have any effect. If you re-import cities, it should wire up your cities to the regions that you have. python manage.py cities --import=city Let me know if that fixes it or it errors out again. |
Checklist
Hello,
Is it possible to make relation between cities and regions? Seems
region
field isNone
Steps to reproduce
Regions is exists:
Version of cities: django-cities==0.5.0.6
The text was updated successfully, but these errors were encountered: