This Django application provides Dial Code and Country data to reuse in a django application.
python setup.py install
See requirements.txt file
in your settings.py file:
INSTALLED_APPS = INSTALLED_APPS + ('country_dialcode',)
In your models add the following
dialcode = models.ForeignKey(Prefix, verbose_name=_("Destination"), null=True, blank=True, help_text=_("Select Prefix"))
If you've found a bug, implemented/improved a feature and think it is useful then please consider contributing. Patches, pull requests or just suggestions are welcome!
If you don’t like Github and Git you’re welcome to send regular patches.
Documentation is available on 'Read the Docs': http://django-country-dialcode.readthedocs.org
Copyright (c) 2011-2012 Star2Billing S.L. <firstname.lastname@example.org>
django-country-dialcode is licensed under MIT, see MIT-LICENSE.txt.