Opened 4 weeks ago

Last modified 29 hours 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 (7)

comment:1 by Natalia Bidart, 3 weeks 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, 3 weeks ago

Owner: changed from nobody to John Higgins
Status: newassigned

I'll write some docs for this!

comment:3 by John Higgins, 3 weeks ago

Has patch: set

comment:4 by John Higgins, 3 weeks ago

Version 0, edited 3 weeks ago by John Higgins (next)

comment:5 by Mariusz Felisiak, 3 weeks ago

Patch needs improvement: set

comment:6 by John Higgins, 3 weeks ago

Patch needs improvement: unset

comment:7 by John Higgins, 29 hours ago

This has a patch ready for review if anyone wants to review it.

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