#23737 closed Cleanup/optimization (fixed)
RequestContext docs should recommend the render shortcut more clearly
Reported by: | Aymeric Augustin | Owned by: | Tim Graham |
---|---|---|---|
Component: | Documentation | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In https://docs.djangoproject.com/en/1.7/ref/templates/api/#subclassing-context-requestcontext, there's a note that starts with "If you’re using Django’s render_to_response() shortcut...".
It says "Alternatively, use the render() shortcut..." which is a rather half-hearted recommendation.
Everyone uses render() all the time and it's just fine. I suggest rewording that note or removing it.
Change History (4)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In f85fcc75e3c19d9694012afe97947d7b516d5dfc: