#36709: System checks for `is_authenticated` (auth.C010) and 'is_anonymous'
(auth.C009) fail to detect @staticmethod overrides
-------------------------------------+-------------------------------------
Reporter: stan shaw | Owner: Harsh
| Jain
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"dfcc662cf8fd7f897ddcdfeaf5cb4ae6c963ebf8" dfcc662c]:
{{{#!CommitTicketReference repository=""
revision="dfcc662cf8fd7f897ddcdfeaf5cb4ae6c963ebf8"
Fixed #36709 -- Included static methods in system check for
UserModel.is_anonymous/is_authenticated methods.
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/36709#comment:4>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.