Opened 10 years ago

Closed 10 years ago

#1410 closed defect (fixed)

[magic-removal] request.user should lazy load

Reported by: adrian Owned by: adrian
Component: Core (Other) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


As of [2423], request.user hits the database for every request, to grab the logged-in user. This should instead do lazy loading, so that the user is only looked up if request.user is accessed. Previously, this was implemented as a property.

Change History (1)

comment:1 Changed 10 years ago by jkocherhans

  • Resolution set to fixed
  • Status changed from new to closed

(In [2431]) magic-removal: fixed #1410. The UserSource class will eventually be replaced with the muti-auth stuff.

Note: See TracTickets for help on using tickets.
Back to Top