Metadata-Version: 2.0
Name: django-yeouia
Version: 1.1.0
Summary: A Django auth backend that works with email or username
Home-page: https://github.com/nim65s/django-YummyEmailOrUsernameInsensitiveAuth
Author: Guilhem Saurel
Author-email: webmaster@saurel.me
License: BSD
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: Django (>=1.11)

Yummy Email Or Username Insensitive Auth
========================================

model backend for Django
========================

|Build Status| |Coverage Status|

Instructions
------------

-  ``pip install -e git://github.com/Nim65s/django-YummyEmailOrUsernameInsensitiveAuth.git#egg=django-yeouia``
-  Add
   ``AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth']``
   to your ``settings.py``
-  Enjoy

Requirements
------------

Tested for

-  Python 2.7, 3.4, 3.5, & 3.6
-  Django 1.10, & 1.11

May work otherwise, but you should run tests :P

Case Insensitive ?
------------------

Django’s default auth username is *not* case insensitive. (See
`#2273 <https://code.djangoproject.com/ticket/2273>`__ and
`#25617 <https://code.djangoproject.com/ticket/25617>`__)

But… Who cares ?

This backend tries:

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

And follows `#20760 <https://code.djangoproject.com/ticket/20760>`__.

.. |Build Status| image:: https://travis-ci.org/nim65s/django-YummyEmailOrUsernameInsensitiveAuth.svg?branch=master
   :target: https://travis-ci.org/nim65s/django-YummyEmailOrUsernameInsensitiveAuth
.. |Coverage Status| image:: https://coveralls.io/repos/github/nim65s/django-EmailOrUsernameAuth/badge.svg?branch=master
   :target: https://coveralls.io/github/nim65s/django-EmailOrUsernameAuth?branch=master


