Custom, simple Django User model with telephone number as username
Project description
django-user-tel
Installation • Contributing • License
Custom, simple Django User model with phone number as username
Installation
$ poetry add django-user-tel
- Then register 'user_tel', in the 'INSTALLED_APPS' section of your project's settings.
# settings.py
...
INSTALLED_APPS = (
...
'user_tel',
)
...
- 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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec65e2a5f49e5197e3e6988c9fa658a4f980a5505b97ee824d9a639f53cc4456 |
|
MD5 | c957bcdf00c49cf79ee50394375cd428 |
|
BLAKE2b-256 | ff1ea2e8c45ff3c5de73c42dfe2246b55f7c100ee9d8df619d04aa18af6b59ca |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d6aedf9cd450dffb66c521a8252bf3430bbefe0fdc6ddb89051cc0b2f831ca |
|
MD5 | 428d27bca5fc197398593063006b886f |
|
BLAKE2b-256 | 877f79f88720385c7548297e59d0280a9ad5c651fa8b91644cdd165e0d9f512c |