Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#2655 closed enhancement (fixed)

[patch] Update to docs/templates_python.txt to include information on "resolve_variable"

Reported by: dave@… Owned by: Jacob
Component: Documentation Version:
Severity: normal Keywords: documentation resolve_variable
Cc: Jbeil 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

Simple update that includes a new section titled Passing object values to the tag using 'resolve_variable' . Code examples from previous sections are modified to include an example of passing an object property as an argument to a template tag instead of just string literals.

Attachments (2)

resolve_variable_docspatch.diff (3.3 KB ) - added by dave@… 18 years ago.
Documentation patch to docs/template_python.txt
resolve_variable_docspatch2.diff (3.3 KB ) - added by Gary Wilson <gary.wilson@…> 17 years ago.
made correction mentioned in comment:3

Download all attachments as: .zip

Change History (8)

by dave@…, 18 years ago

Documentation patch to docs/template_python.txt

comment:1 by dave@…, 18 years ago

Summary: Update to templates_python documentation to include information on "resolve_variable"Update to docs/templates_python.txt to include information on "resolve_variable"

comment:2 by Simon G. <dev@…>, 17 years ago

Has patch: set
Keywords: documentation resolve_variable added
Summary: Update to docs/templates_python.txt to include information on "resolve_variable"[patch] Update to docs/templates_python.txt to include information on "resolve_variable"
Triage Stage: UnreviewedReady for checkin

comment:3 by dave@…, 17 years ago

Line 800 should read:

actual_date = resolve_variable(self.date_to_format, context)

not

actual_date = resolve_variable(date_to_format, context)

by Gary Wilson <gary.wilson@…>, 17 years ago

made correction mentioned in comment:3

comment:4 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [4477]) Fixed #2655 -- added documentation about resolve_variable() for custom template
tags. Thanks dave@….

comment:5 by EMUNNYUNLIP, 17 years ago

Cc: Jbeil added
Keywords: MESSAGE added; documentation resolve_variable removed
Summary: [patch] Update to docs/templates_python.txt to include information on "resolve_variable"[patch] Update to docs/templates_python.txt to include information on &#34;resolve_variable&#34;

Everybody likes sex!
Over 20,000,000 girls registered to have sex always.Click <a href=http://adultfriendfinderpersonalsfreeonli.blogspot.com/>here</a>
http://adultfriendfinderpersonalsfreeonli.blogspot.com/

comment:6 by anonymous, 17 years ago

Keywords: documentation resolve_variable added; MESSAGE removed
Summary: [patch] Update to docs/templates_python.txt to include information on &#34;resolve_variable&#34;[patch] Update to docs/templates_python.txt to include information on "resolve_variable"

Revert ticket spam.

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