Code Monkey home page Code Monkey logo

django-yummyemailorusernameinsensitiveauth's Introduction

Yummy Email Or Username Insensitive Auth model backend for Django

PyPI version Tests pre-commit.ci status codecov Maintainability Code style: black

Instructions

  1. pip install yeouia
  2. Add AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth'] to your settings.py
  3. Enjoy

Requirements

Tested for

  • Python 3.10, 3.11, 3.12
  • Django 5+

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:

  1. username, case sensitive
  2. username, case insensitive
  3. email, case insensitive

And follows #20760.

django-yummyemailorusernameinsensitiveauth's People

Contributors

bouttier avatar dependabot[bot] avatar nim65s avatar pre-commit-ci[bot] avatar

Watchers

 avatar  avatar  avatar

Forkers

bouttier

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.