#35441 closed Cleanup/optimization (fixed)
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: | Ready for checkin | |
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 (12)
comment:1 by , 7 months ago
Component: | Documentation → Template system |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:2 by , 6 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll write some docs for this!
comment:3 by , 6 months ago
Has patch: | set |
---|
comment:4 by , 6 months ago
Here's a link to the patch: https://github.com/django/django/pull/18161
comment:5 by , 6 months ago
Patch needs improvement: | set |
---|
comment:6 by , 6 months ago
Patch needs improvement: | unset |
---|
comment:8 by , 5 months ago
Patch needs improvement: | set |
---|
comment:9 by , 5 months ago
Patch needs improvement: | unset |
---|
comment:10 by , 5 months ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
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!