coderholic / django-cities

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

fix of an importation bug in alternate names related to boolean management #133

Closed mbegoc closed 7 years ago

mbegoc commented 7 years ago

As described here, the boolean flags of the alternate name model raise exceptions when value is an empty string. I tried to reinstall, but it didn't fix the issue for me. This PR simply cast the flags value to ensure a boolean is provided to the model.

blag commented 7 years ago

Thanks!