#30941: hasattr(request, '_cached_user') check no longer works
---------------------------------+------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: master
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Carlton Gibson):
> So I'd be in favor of closing and just seeing if anyone else runs into
the same issue.
Ah yes, we could do that. :) It's undocumented so doesn't even need a
release note in theory, though we might add one just to be polite.
TBH, for me, I'm still not sure avoiding the function invocation (to the
fetch the cached value from the request) is worth the change of such a
long-standing piece of code, so I'd still prefer to revert it.
--
Ticket URL: <https://code.djangoproject.com/ticket/30941#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.bb1b351816e3b606ac7abee2e1403083%40djangoproject.com.