Installation • Contributing • License
Custom, simple Django User model with email as username
$ 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'
...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.