Opened 10 years ago

Closed 10 years ago

Last modified 9 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: UI/UX:

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@… 10 years ago.
Documentation patch to docs/template_python.txt
resolve_variable_docspatch2.diff (3.3 KB) - added by Gary Wilson <gary.wilson@…> 10 years ago.
made correction mentioned in comment:3

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by dave@…

Documentation patch to docs/template_python.txt

comment:1 Changed 10 years ago by dave@…

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 Changed 10 years ago by Simon G. <dev@…>

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 Changed 10 years ago by dave@…

Line 800 should read:

actual_date = resolve_variable(self.date_to_format, context)

not

actual_date = resolve_variable(date_to_format, context)

Changed 10 years ago by Gary Wilson <gary.wilson@…>

made correction mentioned in comment:3

comment:4 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

comment:5 Changed 9 years ago by EMUNNYUNLIP

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 Changed 9 years ago by anonymous

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