Django use Email as Username
A Django app to use email as username for user authentication.
Features
Custom User model with no username field
Use email as username
Includes a django-admin command for quick install
Follow Django best practices for new Django projects and User models.
Quickstart
Install Django use Email as Username:
# Run in your terminal pip install django-use-email-as-usernameAdd it to your INSTALLED_APPS:
# In your settings.py file INSTALLED_APPS = ( ... 'django_use_email_as_username.apps.DjangoUseEmailAsUsernameConfig', ... )Create your new django app:
# Run in your terminal python manage.py create_custom_user_appAdd the new app to your INSTALLED_APPS:
# In your settings.py file INSTALLED_APPS = ( ... 'django_use_email_as_username.apps.DjangoUseEmailAsUsernameConfig', 'custom_user.apps.CustomUserConfig', ... )Now instruct Django to use your new model:
# In your settings.py file AUTH_USER_MODEL = 'custom_user.User'Create and run migrations:
# Run in your terminal python manage.py makemigrations python manage.py migrate
You now have a new Django app which provides a custom User model.
You can further modify the new User Model any time in the future, just remember to create and run the migrations.
Notes
This app gives you a custom User model, which is good practice for new Django projects.
Changing to a custom user model mid-project is not easy.
It is recommended to always create a custom User model at the beginning of every Django project.
Credits
Tools used in rendering this package:
Metadata
Release files for django-use-email-as-username 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_use_email_as_username-1.4.0.tar.gz | 10.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_use_email_as_username-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.1 kB
Release files / django_use_email_as_username-1.4.0.tar.gz
| Download URL | django_use_email_as_username-1.4.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58a6f38a487a887bcaefa5435a5abf5620994805f68cb62b2dc3f226bf177fb9
|
|
BLAKE2b-256 checksum How to use checksums |
1d4fb1459d41bb1dbd790c7329df34047c2aec2f7fb890dcfb1891d31d1e93d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.7.4 CPython/3.11.4
|
Release files / django_use_email_as_username-1.4.0-py3-none-any.whl
| Download URL | django_use_email_as_username-1.4.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ac2dc6f7d9c0ad7c156fb56a872f6d32bbf21af0a16748dd84650f5d9deaca3
|
|
BLAKE2b-256 checksum How to use checksums |
d03568c52a013819ec1e0adaf45f8d6b97c5671d8c40f2f71163d88d9ccee8e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.7.4 CPython/3.11.4
|
Security for django-use-email-as-username 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.