Skip to main content

Django Application providing Dialcode and Countries code

Project description

Major code is taken from http://github.com/Star2Billing/django-country-dialcode

This Django application provides Dial Code and Country data to reuse in a django application.

Installation

Install Django-Country-Dialcode:

python setup.py install

Settings

in your settings.py file:

INSTALLED_APPS = INSTALLED_APPS + ('country_dialcode',)

Usage

In your models add the following

dialcode = models.ForeignKey(Prefix, verbose_name=_("Destination"), null=True,
                           blank=True, help_text=_("Select Prefix"))

Project details


Download files

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

Source Distribution

django-country-dialcode-sb-0.6.4.tar.gz (113.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page