Skip to main content

django-unique-user-email

Project description

django-unique-user-email

Enable login-by-email with the default User model for your Django project by making auth.User.email unique.

Coming Soon

A quick note on why?

Django's leaky battery is its recommendation that you create a custom user model. Auth is so central and so standard that, into the high-nines (99.99%?), the vast majority of projects should never need to customise the central auth model. This is a battery that Django should very much provide.

There's a complexity tax from exposing the auth model. There's a performance tax as the auth model becomes a generic dumping ground for User related data that has nothing to do with authentication. There's a learning tax as users hit the custom user model, and the (frankly, misplaced) warnings about it's importance.

Again, the vast majority of projects should never need to customise the central auth model.

Can I login with my email?

Most projects, all folks wanted was login-by-email. By making the default auth.User model have unique email field, and a few other bits and bobs, this is enabled.

The goal of this package is to give you the tools you need for login-by-email with Django's default User model. I believe this should be a option in Django itself, so it's a proof-of-concept for a future discussion there too.

Coming Soon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-unique-user-email-23.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

django_unique_user_email-23.0-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-unique-user-email-23.0.tar.gz.

File metadata

File hashes

Hashes for django-unique-user-email-23.0.tar.gz
Algorithm Hash digest
SHA256 a4383fc931df31128c394a29016cb14506de1bb697233a749a02554b0461f8ef
MD5 14c41d8f352fc139f578b64ad3f7d53b
BLAKE2b-256 1f867db303ed22369613ea7db2b664388345da77d01d70b2e2b7750242ecd10b

See more details on using hashes here.

File details

Details for the file django_unique_user_email-23.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_unique_user_email-23.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 850df13ea26ab9e896504f9ba57dc39043f90094c10a31dccfdef28a8b0eb50c
MD5 e7d5fd9bfd5c9cf014ee792b14bcca0b
BLAKE2b-256 877fa0caf8ecf6c07f926566ba7513deadd2be760608b09363b4f86ea1df1efa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page