Skip to content

cesarcruz/django-world-regions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django World Regions

Simple Django app to group countries in world's regions like Northern America, Eastern Europe, etc.

Regions data are based in http://techydiary.com/region-yaml-for-django-fixtures/ thanks Stephen for that.

Django Countries is used to handle countries.

Note

Currently this package don't use GeoDjango neither map data.

Installation

  1. pip install django-world-regions
  2. Add world_regions to INSTALLED_APPS
  3. python manage.py migrate

Usage

from world_regions.models import Region

region = Region.objects.get(countries__country='US')
print region.name

About

Simple Django app to group countries in world's regions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages