Install python-django-countries by entering the following commands in the terminal:
sudo apt update sudo apt install python-django-countries
Description:
provides a country field for Django models
A Django application which provides all ISO 3166-1 countries as choices for use with forms, and a country field for models. It also includes a small template filter for getting country flags by ISO 3166-1 alpha-2 country code.
Homepage: https://bitbucket.org/smileychris/django-countries/
Version: 5.2-1
Section: universe/python