Add countries support to your application
Install Countries with your favourite package manager:
pip install incuna-countries
Add countries
to your INSTALLED_APPS
setting:
INSTALLED_APPS = (
# other apps
'countries',
)
You can now ForeignKey the Country
object from your models.
Load the default list of countries into your database with loaddata:
python manage.py loaddata default_countries