Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12031 closed (fixed)

Make django.core.context_processors.auth lazy

Reported by: Suor Owned by: nobody
Component: Uncategorized Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django.core.context_processors.auth breakes laziness of session and request.user.
It also calls user.get_and_delete_messages() for all pages which is usually pointless when not in admin.

Change History (3)

comment:1 Changed 6 years ago by Suor

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

it relates to #6552

comment:2 Changed 6 years ago by lukeplant

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

(In [11623]) Fixed #6552, #12031 - Make django.core.context_processors.auth lazy to avoid "Vary: Cookie"

Thanks to olau@…, Suor for the report

comment:3 Changed 6 years ago by lukeplant

(In [11624]) [1.1.X] Fixed #6552, #12031 - Make django.core.context_processors.auth lazy to avoid "Vary: Cookie"

Thanks to olau@…, Suor for the report

Backport of r11623 from trunk

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