Skip to content

Django model field which can store multiple selected countries.

License

Notifications You must be signed in to change notification settings

anatoliy-larin/django-countries-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-countries-field

Build Status

Django model field which can store multiple selected countries.

Requirements

  • Django>=1.4.0,<1.6.0
  • django-bitfield>=1.6.0,<1.7.0
  • pycountry>=1.2.0,<1.3.0

Installation

Install it with pip (or easy_install):

pip install django-countries-field

Usage

# coding: utf-8
from django.db import models
from countries_field.fields import CountriesField


class TestCountriesModel(models.Model):
    countries = CountriesField()

More example, see: countries_field/tests/tests.py

About

Django model field which can store multiple selected countries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages