Code

Opened 5 years ago

Closed 5 years ago

Last modified 5 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.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Suor

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

it relates to #6552

comment:2 Changed 5 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 5 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.