Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

This version

0.6.4

Download files

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

Files for django-country-dialcode-sb, version 0.6.4
Filename, size File type Python version Upload date Hashes
Filename, size django_country_dialcode_sb-0.6.4-py3-none-any.whl (125.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-country-dialcode-sb-0.6.4.tar.gz (113.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page