not too bad: https://bitbucket.org/smileychris/django-countries/src/a8addf2f036a61cbda47ebc717447f1d96c833d6/django_countries/countries.py?at=default