summaryrefslogtreecommitdiff
path: root/django/contrib/auth/backends.py
AgeCommit message (Expand)Author
2019-09-10Refs #30037 -- Required the RemoteUserBackend.configure_user() to have reques...Mariusz Felisiak
2019-08-29Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.Berker Peksag
2019-06-10Fixed #30556 -- Avoided useless query and hasher call in ModelBackend.authent...Aymeric Augustin
2019-06-05Refs #30226 -- Added User.get_user_permissions() method.Tobias Bengfort
2019-06-05Fixed #30226 -- Added BaseBackend for authentication.Tobias Bengfort
2019-01-09Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user().Joshua Cannon
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-26Fixed #28930 -- Simplified code with any() and all().Дилян Палаузов
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-10-14Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from mutating ge...Yuri Kaszubowski Lopes
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-25Fixed #25966 -- Made get_user_model() work at import time.Aymeric Augustin
2016-09-12Fixed #25187 -- Made request available in authentication backends.Aleksej Manaev
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-03-23Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.Alexander Gaevsky
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-06-24Restored is_anonymous() check in ModelBackend permission checking removed in ...Tim Graham
2014-06-23Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive us...Jorge C. Leitão
2014-06-13Fixed #7599 -- Added get_user_permissions to ModelBackend.Jorge C. Leitão
2014-05-19Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.Tim Graham
2013-11-14Propagate get_user_model exception from get_userMatt Robenolt
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-07-23Fixed #20760 -- Reduced timing variation in ModelBackend.Aymeric Augustin
2013-07-04Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.Tim Graham
2013-02-07Fixed #19662 -- alter auth modelbackend to accept custom username fieldsPreston Holmes
2013-01-22Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app.Florian Apolloner
2012-10-13Fixed #19077, #19079 -- Made USERNAME_FIELD a required field, and modified Us...Russell Keith-Magee
2012-10-06Fixed #19060 -- Corrected assumptions about the name of the User model in the...Russell Keith-Magee
2012-09-26Fixed #3011 -- Added swappable auth.User models.Russell Keith-Magee
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
2012-04-26Fixed #18038 -- Removed the 'supports_inactive_user' backwards-compatibility ...Claude Paroz
2011-09-10Removed the deprecated-since-1.2 "supports_object_permissions" and "supports_...Alex Gaynor
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for t...Jannis Leidel
2010-12-21Fixed #14249 -- Added support for inactive users to the auth backend system. ...Jannis Leidel
2010-12-04Fixed #14795 -- Ensure that get_all_permissions() returns the right result (i...Russell Keith-Magee
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee
2010-02-23Fixed #12729 -- Replaced a hard-coded SQL statement with an ORM query so that...Russell Keith-Magee
2010-01-28Fixed #12557 - AnonymousUser should check auth backends for permissionsLuke Plant
2009-12-10Fixed #11010 - Add a foundation for object permissions to authentication back...Jannis Leidel
2009-03-15Fixed #689 -- Added a middleware and authentication backend to contrib.auth f...Gary Wilson Jr
2008-07-02Fixed a long and complex line by breaking into a for loop, with the added ben...Gary Wilson Jr
2008-07-02Added docstring and other minor style fixes.Gary Wilson Jr
2008-03-08Fixed #5922 -- Turned `ModelBackend` authentication backend into a new-style ...Gary Wilson Jr
2007-09-30Fixed #5636 -- Added missing Set import for Python2.3 support. Thanks, wangch...Russell Keith-Magee
2007-09-19Fixed $5457 - the auth system now delegates permission checking to auth backe...Jacob Kaplan-Moss
2006-07-21Fixed a bunch of spurious imports, typos, and other small errors turned up by...Jacob Kaplan-Moss