Skip to main content

A django model & fixture containing all data from the countries table of

Project description


django-countries-plus provides a model and fixture containing all top level country data from (

The model provides the following fields (original column name in parentheses).

* iso (ISO)
* iso3 (ISO3)
* iso_numeric (ISO-Numeric)
* fips (fips)
* name (Country)
* capital
* area (Area(in sq km))
* population (population)
* continent (continent)
* tld (tld)
* currency_code (CurrencyCode)
* currency_name (CurrencyName)
* phone (Phone)
* postal_code_format (Postal Code Format)
* postal_code_regex (Postal Code Regex)
* languages (Languages)
* geonameid (geonameid)
* neighbors (neighbours)
* equivalent_fips_code (EquivalentFipsCode)



pip install django-countries-plus


1. Add ``countries_plus`` to your INSTALLED_APPS

2. Sync your fixtures::

python syncdb

3. In your code use::

from countries_plus.models import Country
usa = Country.objects.get(iso3='USA')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-countries-plus, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size django-countries-plus-0.1.3.tar.gz (23.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page