summaryrefslogtreecommitdiff
path: root/tests/auth_tests/models
AgeCommit message (Collapse)Author
2026-04-24Fixed #36542 -- Marked authenticate() with @sensitive_variables() decorator.KANIN KEARPIMY
Thanks Olivier Dalang, Tim McCurrach, Sarah Boyce, and Mar Bartolome for reviews.
2025-01-13Fixed #36087 -- Supported password reset on a custom user model with a ↵Sarah Boyce
composite primary key.
2024-10-07Fixed #35303 -- Implemented async auth backends and utils.Jon Janzen
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2022-04-01Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD ↵Lucidiot
when using Meta.constraints.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-10-21Fixed #26615 -- Made password reset token invalidate when changing email.Jacob Walls
Co-Authored-By: Silas Barta <sbarta@gmail.com>
2019-08-26Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS.Hasan Ramezani
2019-01-16Fixed #11154, #22270 -- Made proxy model permissions use correct content type.Arthur Rio
Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2018-08-05Fixed #29616 -- Fixed createsuperuser for user models that don't have a ↵Josh Schneier
password field.
2018-08-04Fixed #29628 -- Made createsuperuser validate password against username and ↵Josh Schneier
required fields.
2018-02-21Fixed #29132 -- Avoided connecting update_last_login() handler if ↵Mikhail Porokhovnichenko
User.last_login isn't a field.
2017-10-20Fixed #27515 -- Made AuthenticationForm's username field use the max_length ↵Lucas Connors
from the model field. Thanks Ramin Farajpour Cami for the report.
2017-05-29Fixed #26823 -- Prevented update_last_login signal receiver from crashing if ↵Linus Lewandowski
User model doesn't have last_login field.
2017-05-06Fixed #28089 -- Removed requirement to implement get_short_name() and ↵Josh Schneier
get_full_name() in AbstractBaseUser subclasses.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2016-11-23Normalized casing of "custom user model".Tim Graham
2016-09-27Fixed #20705 -- Allowed using PasswordResetForm with user models with an ↵levental
email field not named 'email'.
2016-08-10Fixed #26951 -- Allowed AuthenticationForm to work with a username of 0.Olexander Yermakov
2016-03-23Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.Alexander Gaevsky
2016-02-23Fixed a stray __unicode__() method in auth_tests.Tim Graham
2016-02-04Fixed #26089 -- Removed custom user test models from public API.Simon Charette
Thanks to Tim Graham for the review.
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-10-27Removed unnecessary app_label='auth' on auth_tests models.Tim Graham
This is a relic of when the tests were stored in contrib.auth.tests.
2015-10-27Fixed #25596 -- Fixed regression in password change view with custom user model.Tim Graham
The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49 crashed on a custom user model.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-06Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDsAlasdair Nicol
Clarified docs to say that a non-unique USERNAME_FIELD is permissable as long as the custom auth backend can support it.
2015-02-12Fixed #24161 -- Stored the user primary key as a serialized value in the ↵Tim Graham
session. This allows using a UUIDField primary key along with the JSON session serializer. Thanks to Trac alias jamesbeith for the report and Simon Charette for the initial patch.
2015-02-11Moved non-documented auth test models to the new test location.Tim Graham