coderholic / django-cities

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

make script support arguments management of django 1.10 #132

Closed mbegoc closed 7 years ago

mbegoc commented 7 years ago

As pointed out by @dpmontero here, the extension does not support the add_arguments way of regestering arguments of django 1.10, so importing data doesn't work, which makes it useless. This PR add the support of this new feature. It still support the old way this was done for django 1.7 and lesser thanks to a test on the django version.

Also on my environment, the import in the plugins files failed. I removed them since no settings seemed to be used in the files.

blag commented 7 years ago

Thanks!