Skip to main content

Package Django pour obtenir l’indicatif téléphonique selon le pays

Project description

package_phonecode_pays

package_phonecode_pays est un package Django qui permet d'obtenir l'indicatif téléphonique d'un pays en saisissant son nom.
Il inclut une vue et un formulaire prêts à être utilisés dans n'importe quel projet Django.


Fonctionnalités

  • Formulaire permettant de saisir un pays.
  • Retourne l’indicatif téléphonique correspondant.
  • Facile à intégrer dans tout projet Django via INSTALLED_APPS.

Installation

Installer le package

Si tu as le package en local :

pip install package-phonecode-pays


Dans settings.py de ton projet Django :

INSTALLED_APPS = [
    ...
    'package_phonecode_pays',
]

Dans le urls.py principal de ton projet :

from django.urls import path, include

urlpatterns = [
    ...
    path('', include('package_phonecode_pays.urls')),
]
    Lance ton serveur Django :

python manage.py runserver

    Ouvre dans le navigateur :

http://127.0.0.1:8000/phonecode/

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

package_phonecode_pays-0.5.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

package_phonecode_pays-0.5.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file package_phonecode_pays-0.5.0.tar.gz.

File metadata

  • Download URL: package_phonecode_pays-0.5.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for package_phonecode_pays-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d68e7a5251999ee1652f57a84cd299719d160ee7b5d1e196393163767cb553bd
MD5 6b361432f967e2150239a3441a302fe3
BLAKE2b-256 a1a32a34adccd31964f657d9620276781564ac4b21fb0a68e13e02d99fdbd746

See more details on using hashes here.

File details

Details for the file package_phonecode_pays-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for package_phonecode_pays-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3953af2a0717b7fa01b1595e39b21c8fc1b21136e6c8c1f2117c010789a70a96
MD5 9259f743516724cf6764bed88d839b9c
BLAKE2b-256 ccbb949c6ce1e70dec25f1a5007d69c86c0ae1a3dbab0326fb17eb80dffe2ab6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page