Opened 11 days ago

Last modified 5 days ago

#35441 assigned Cleanup/optimization

Context autoescape parameter is not documented

Reported by: Roman Donchenko Owned by: John Higgins
Component: Template system Version: 5.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In #35296 I was advised to use the autoescape parameter of the Context constructor. However, it is not documented. The reference for Context only mentions the dict_ parameter.

If this parameter is part of the public API, it should be documented.

Change History (6)

comment:1 by Natalia Bidart, 10 days ago

Component: DocumentationTemplate system
Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

Hello Roman,

I have followed the docs and pointers you provided and I think you are right, the Context docs could use some improving. Would you be willing to help making a patch? Thank you!

comment:2 by John Higgins, 8 days ago

Owner: changed from nobody to John Higgins
Status: newassigned

I'll write some docs for this!

comment:3 by John Higgins, 7 days ago

Has patch: set

comment:4 by John Higgins, 7 days ago

Last edited 7 days ago by John Higgins (previous) (diff)

comment:5 by Mariusz Felisiak, 7 days ago

Patch needs improvement: set

comment:6 by John Higgins, 5 days ago

Patch needs improvement: unset
Note: See TracTickets for help on using tickets.
Back to Top