Django Countries Flavor
A Django application that provides a data collection for internationalization and localization purposes.
Full documentation for the project is available at docs.
Dependencies
- Python ≥ 3.4
- Django ≥ 1.11
- PostGIS database (PostgreSQL ≥ 9.4)
Installation
Install last stable version from pypi.
pip install django-countries-flavor
Add countries
to your INSTALLED_APPS settings:
INSTALLED_APPS = [
...
'countries.apps.CountriesAppConfig',
]
Apply migrations:
python manage.py migrate
Load data
The loadcountries
management command read all fixtures and re-loaded into the database:
python manage.py loadcountries
Standards ISO
- Country ISO 3166-1
- Currency ISO 4217
- Language ISO 639-1
- Language ISO 639-3
Credits
- Countries: mledoze/countries
- Locales Babel
- Languages ISO 639-1 / ISO 639-3: Wikipedia
- Currency symbols: hexorx/currencies
- Divisions and extra data: rinvex/country
- Timezones: antonioribeiro/countries