Skip to main content

Custom, simple Django User model with telephone number as username

Project description

django-user-tel

ci status pypi link codecov
supported python versions supported django versions

InstallationContributingLicense

Custom, simple Django User model with phone number as username

Installation

  1. Use your preferred package manager (pip, poetry, pipenv) to install the package. For example:
$ poetry add django-user-tel
  1. Then register 'user_tel', in the 'INSTALLED_APPS' section of your project's settings.
# settings.py
...

INSTALLED_APPS = (
    ...
    'user_tel',
)

...
  1. Set AUTH_USER_MODEL - Since it's a custom User model Django needs to know the path of the model
# settings.py
...

AUTH_USER_MODEL = 'user_tel.User'

...

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License

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_user_tel-1.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

django_user_tel-1.0.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file django_user_tel-1.0.1.tar.gz.

File metadata

  • Download URL: django_user_tel-1.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1034-azure

File hashes

Hashes for django_user_tel-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ec65e2a5f49e5197e3e6988c9fa658a4f980a5505b97ee824d9a639f53cc4456
MD5 c957bcdf00c49cf79ee50394375cd428
BLAKE2b-256 ff1ea2e8c45ff3c5de73c42dfe2246b55f7c100ee9d8df619d04aa18af6b59ca

See more details on using hashes here.

File details

Details for the file django_user_tel-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_user_tel-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1034-azure

File hashes

Hashes for django_user_tel-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28d6aedf9cd450dffb66c521a8252bf3430bbefe0fdc6ddb89051cc0b2f831ca
MD5 428d27bca5fc197398593063006b886f
BLAKE2b-256 877f79f88720385c7548297e59d0280a9ad5c651fa8b91644cdd165e0d9f512c

See more details on using hashes here.

Supported by

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