Opened 9 years ago

Closed 9 years ago

#5484 closed (fixed)

render_to_string is undocumented

Reported by: xian Owned by: James Bennett
Component: Documentation Version: master
Severity: Keywords: render_to_string sprintsept14
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: yes
Easy pickings: UI/UX:

Description

django.template.loader.render_to_string is undocumented please document.

Attachments (2)

5484.diff (2.4 KB) - added by James Bennett 9 years ago.
5484.2.diff (1.7 KB) - added by James Bennett 9 years ago.
Patch which links to new shortcuts documentation for render_to_response

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by xian

Needs documentation: set
Owner: changed from nobody to James Bennett

comment:2 Changed 9 years ago by James Bennett

Triage Stage: UnreviewedAccepted

comment:3 Changed 9 years ago by James Bennett

Triage Stage: AcceptedReady for checkin

Attached patch documents both render_to_string and render_to_response; because they're so similar (render_to_response is literally a two-line wrapper around render_to_string), they really should be documented in the same place.

Changed 9 years ago by James Bennett

Attachment: 5484.diff added

comment:4 Changed 9 years ago by James Bennett

Keywords: sprintsept14 added

comment:5 Changed 9 years ago by Adrian Holovaty

Earlier today I checked in a new document, docs/shortcuts.txt, which documents render_to_response. Can this patch be updated to refer to that new document to remove redundancy? Looks like we only have to document render_to_string.

comment:6 Changed 9 years ago by Adrian Holovaty

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted

Changed 9 years ago by James Bennett

Attachment: 5484.2.diff added

Patch which links to new shortcuts documentation for render_to_response

comment:7 Changed 9 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [6307]) Fixed #5484 -- Documented render_to_string. Thanks, ubernostrum

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