incuna / incuna-countries

List of countries as a django application, taken from ISO 3166

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incuna Countries

Add countries support to your application

Installation

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.

Fixtures

Load the default list of countries into your database with loaddata:

python manage.py loaddata default_countries

About

List of countries as a django application, taken from ISO 3166


Languages

Language:Python 93.7%Language:Makefile 6.3%