Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#11889 closed (fixed)

Order for context being override isn't clear for Context Processors and Views

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

Description

The order at which the same key gets override in the context isn't clear from the current docs when the same key exist from the view and context processor.

Current behavior is the context processor will override view context with RequestContext(request, your_dict) (SmileyChris on IRC)

Change History (4)

comment:1 Changed 7 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by James Bennett

Resolution: fixed
Status: newclosed

(In [12669]) Fixed #11889: Documented the fact that context processors will overwrite pre-existing context variables of the same names.

comment:3 Changed 7 years ago by James Bennett

(In [12670]) [1.1.X] Fixed #11889: Documented the fact that context processors will overwrite pre-existing context variables of the same names. Backport of [12669] from trunk.

comment:4 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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