summaryrefslogtreecommitdiff
path: root/django/contrib/auth/checks.py
AgeCommit message (Collapse)Author
2025-11-05Fixed #36709 -- Included static methods in system check for ↵Harsh Jain
UserModel.is_anonymous/is_authenticated methods.
2025-06-11Removed default value for app_configs in system check functions.Adam Johnson
The documentation[0] encourages users to write functions without a default for `app_configs`, and checks are always passed the argument. [0] https://docs.djangoproject.com/en/5.2/topics/checks/
2024-06-28Reverted "Fixed #35564 -- Improved readability of subclass identification."Sarah Boyce
This reverts commit f0d05a747f7a099e6c6bc58c42a787546d2212e7 due to a performance regression.
2024-06-27Fixed #35564 -- Improved readability of subclass identification.Jaap Roes
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
Co-authored-by: Adam Johnson <me@adamj.eu> Co-authored-by: Mehmet İnce <mehmet@mehmetince.net> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-10-20Fixed #32121 -- Fixed detecting uniqueness of USERNAME_FIELD when using ↵Hannes Ljungberg
Meta.constraints. Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
2020-02-26Fixed #31289 -- Added hint for USERNAME_FIELD/REQUIRED_FIELDS system check.aryan
2020-01-29Used model's Options.label/label_lower where applicable.Mariusz Felisiak
2020-01-23Fixed #31200 -- Added system checks for permissions codenames max length.Michael Mulholland
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-09-06Removed transitive import of types.MethodType from six.Curtis Maloney
2016-08-03Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions.Sergey Yurchenko
2016-05-06Refs #25847 -- Added system check for ↵Tim Graham
UserModel.is_anonymous/is_authenticated methods.
2016-04-06Fixed #26470 -- Converted auth permission validation to system checks.Simon Charette
Thanks Tim for the review.
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2014-03-03Edited contrib.auth check messages for grammar and consistency.Russell Keith-Magee
2014-01-26Took advantage of the new get_model API. Refs #21702.Aymeric Augustin
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.