We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Environment:
Python 3.6.4 Django 2.0.7 django-cities 0.5.0.6 Ubuntu 16.04 MySQL 5.7
Command:
$ manage.py cities import
or
$ manage.py cities --import=district
Importing districts will fail with a ValueError exception that it's not handled.
django-cities/cities/management/commands/cities.py
Line 635 in 1a60b31
I have solved this by modifying L635 as follows:
except (City.DoesNotExist, ValueError) as e:
The text was updated successfully, but these errors were encountered:
Update cities.py
5ec8111
@calinrada fix coderholic#204
No branches or pull requests
Environment:
Python 3.6.4
Django 2.0.7
django-cities 0.5.0.6
Ubuntu 16.04
MySQL 5.7
Command:
or
Importing districts will fail with a ValueError exception that it's not handled.
django-cities/cities/management/commands/cities.py
Line 635 in 1a60b31
I have solved this by modifying L635 as follows:
The text was updated successfully, but these errors were encountered: