[patch] Subtle bug in LazyUser
|Reported by:||jkocherhans||Owned by:||Adrian Holovaty|
|Cc:||Maniac@…, mir@…||Triage Stage:||Unreviewed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The cached user is currently stored as an attribute of
LazyUser, but should be stored as an attribute of the request. The current code behaves as if request.user were a class attribute.