Django

Code

Ticket #5484 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

render_to_string is undocumented

Reported by: xian Assigned to: ubernostrum
Milestone: Component: Documentation
Version: SVN Keywords: render_to_string sprintsept14
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 1
Needs tests: 0 Patch needs improvement: 1

Description

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

Attachments

5484.diff (2.4 kB) - added by ubernostrum on 09/14/07 22:15:22.
5484.2.diff (1.7 kB) - added by ubernostrum on 09/15/07 00:17:29.
Patch which links to new shortcuts documentation for render_to_response

Change History

09/14/07 21:59:07 changed by xian

  • owner changed from nobody to ubernostrum.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs set to 1.

09/14/07 22:00:15 changed by ubernostrum

  • stage changed from Unreviewed to Accepted.

09/14/07 22:14:25 changed by ubernostrum

  • stage changed from Accepted to Ready 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.

09/14/07 22:15:22 changed by ubernostrum

  • attachment 5484.diff added.

09/14/07 22:20:04 changed by ubernostrum

  • keywords changed from render_to_string to render_to_string sprintsept14.

09/14/07 23:55:44 changed by adrian

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.

09/14/07 23:55:52 changed by adrian

  • needs_better_patch set to 1.
  • stage changed from Ready for checkin to Accepted.

09/15/07 00:17:29 changed by ubernostrum

  • attachment 5484.2.diff added.

Patch which links to new shortcuts documentation for render_to_response

09/15/07 13:39:45 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #5484 (render_to_string is undocumented)




Change Properties
Action