coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
921 stars 375 forks source link

Django 1.10 compatibility issue (BaseCommand.option_list) in ./manage.py cities #131

Closed IwoHerka closed 7 years ago

IwoHerka commented 7 years ago

Since BaseCommand.option_list was deprecated in Django 1.8 and removed in Django 1.10, cities command failes on AttributeError: type object 'BaseCommand' has no attribute 'option_list'.

dpmontero commented 7 years ago

Hi!,

You have the solution at #129 or I fixed it in https://github.com/dpmontero/django-cities

blag commented 7 years ago

Fixed in #132, which was just merged. I'll close this once @coderholic cuts a new release to PyPI, but in the meantime you can use the master branch.