SmileyChris/django-countries — pull request #83 by toofishes (2014-10-24 01:01:35+00:00)
Title: Attempt to allow null and empty country objects

Possible fix for #82. I'm not totally certain I got everything right, as we might want to add more tests to verify behavior is working appropriately. The biggest thing to check here might be the round-tripping of both `None` and `u''` values, to make sure the code attribute is set appropriately on the returned Country object from the descriptor.