Opened 16 years ago
Closed 15 years ago
#10800 closed (fixed)
render_to_string and render_to_response use select_template
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | 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 documentaztion:
"The Django template language: For Python programmers"
http://docs.djangoproject.com/en/dev/ref/templates/api/
accordind with:
http://code.djangoproject.com/ticket/546
render_to_string and render_to_response can use select_template
so:
"The render_to_string shortcut takes one required argument -- template_name, which should be the name of the template to load and render -- and two optional arguments:"
should be:
"The render_to_string shortcut takes one required argument -- template_name, which should be a string with the name of the template to load and render or a list or tuple containing templates arguments for select_template -- and two optional arguments:"
Attachments (1)
Change History (4)
comment:1 by , 16 years ago
Keywords: | render_to_string removed |
---|---|
Needs documentation: | set |
Triage Stage: | Unreviewed → Accepted |
Version: | 1.0 → SVN |
by , 15 years ago
Attachment: | 10800.diff added |
---|
comment:2 by , 15 years ago
Has patch: | set |
---|---|
Needs documentation: | unset |
Triage Stage: | Accepted → Ready for checkin |
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [12161]) Fixed #10800 -- Made a small improvement to render_to_string() docs. Thanks, p.patruno@… and timo