Skip to content

rutube/django-countries-field

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-countries-field

Build Status

Django model field which can store multiple selected countries.

Requirements

  • Django>=1.7.0,<1.10.0
  • pycountry>=1.20

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

Packages

No packages published

Languages

  • Python 100.0%