#2702: [patch] Subtle bug in LazyUser
--------------------------+-------------------------------------------------
Reporter: jkocherhans | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Contrib apps | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by Ivan Sagalaev <[EMAIL PROTECTED]>):
* cc: [EMAIL PROTECTED] (added)
Comment:
Joseph, one question on a self-educational note: wouldn't it be better to
check for "hasattr(request, '_cached_user')" instead of "getattr(request,
'_cached_user', None) is None" ?
--
Ticket URL: <http://code.djangoproject.org/ticket/2702>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---