AlternativeNames queryset is empty after ...import=city
shalakhin opened this issue · 1 comments
shalakhin commented
Checklist
- I have verified that I am using a GIS-enabled database, such as PostGIS or Spatialite.
- I have verified that that issue exists against the
master
branch of django-cities. - I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- I have reduced the issue to the simplest possible case.
- I have included a failing test as a pull request. (If you are unable to do so we can still accept the issue.)
Steps to reproduce
- pip install
- added to INSTALLED_APPS
- added postgis extension to the database
- ./manage.py migrate
- running the script from the README to import=city (it ends successfully and I see the list of cities)
- But no alternative names provided.
Expected behavior
Alternative names should not be empty.
Actual behavior
AlternativeName.objects.all() gives [] (empty list)
blag commented
This isn't a bug - you have to import alternative names separately from everything else.
Please try importing with --import=alt_name
and report back. Closing for now.