Yummy Email Or Username Insensitive Auth model backend for Django
Instructions
pip install django-yeouia- Add
AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth']to yoursettings.py - Enjoy
Requirements
Tested for
- Python 3.4, 3.5, 3.6, 3.7
- Django 2.0, 2.1
May work otherwise, but you should run tests :P
Case Insensitive ?
Django's default auth username is not case insensitive. (See #2273 and #25617)
But… Who cares ?
This backend tries:
- username, case sensitive
- username, case insensitive
- email, case insensitive
And follows #20760.
Metadata
Release files for django-yeouia 2.0.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 | |
|---|---|---|---|
| django-yeouia-2.0.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_yeouia-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / django-yeouia-2.0.0.tar.gz
| Download URL | django-yeouia-2.0.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6843be54720d2c953de7a4bfecc1b4cfb07e067107c28d9e7c53178d25cda18
|
|
BLAKE2b-256 checksum How to use checksums |
f57db68852cf6a373a8bc2631067b4d29b7219646ea80d49c95eb90767b586a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / django_yeouia-2.0.0-py3-none-any.whl
| Download URL | django_yeouia-2.0.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b168d47aed43eb8a6d5d0be2f57a5eef6a934118117beed76988fcc57c154af
|
|
BLAKE2b-256 checksum How to use checksums |
e6d02e2424472830caf9a7d9c0382bd45786dacfcb8513f59a24f22b69b220dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|