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 install 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
Close
Hashes for django_user_email-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d5f4db82f447362d9218064047a529d3f9a9708b5aa870d7c371c61fbe74635 |
|
MD5 | 1585dfaf733a331618297f1eabb3f8af |
|
BLAKE2b-256 | 51d02f8824992a42d716e76c6402757a07f7624a5f273fde9ba6f7157b9a5fe3 |