Custom, simple Django User model with email as username
Project description
django-user-email
Installation • Contributing • License
Custom, simple Django User model with email as username
Installation
$ poetry add django-user-email
- Then register 'user_email', in the 'INSTALLED_APPS' section of your project's settings.
# settings.py
...
INSTALLED_APPS = (
...
'user_email',
)
...
- 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_email.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_user_email-1.1.1.tar.gz.
File metadata
- Download URL: django_user_email-1.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1a0e53d98ba4aaa8ee287ac3fbd6f63ee356d2b40d6ce4f814c8a721948865
|
|
| MD5 |
d4ff06008072bb47256f5b00af275d77
|
|
| BLAKE2b-256 |
7601c0e4b6dd90462e8860849bcaa36c25adc1afd4618f8b580dddec76bb4ab3
|
File details
Details for the file django_user_email-1.1.1-py3-none-any.whl.
File metadata
- Download URL: django_user_email-1.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58ca89b417e59bb7315547140b7d3c6f2c5b29097dd4c22682988c7138df0af8
|
|
| MD5 |
0e4262075caa66c4e3d2c53cc04d110c
|
|
| BLAKE2b-256 |
abe0e2ecb98f713e53f49cf1305bebf7578437af8237a0036c1471742d9c8946
|