Code

Opened 8 years ago

Closed 7 years ago

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

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by dave@…

Documentation patch to docs/template_python.txt

comment:1 Changed 8 years ago by dave@…

  • Summary changed from Update to templates_python documentation to include information on "resolve_variable" to Update to docs/templates_python.txt to include information on "resolve_variable"

comment:2 Changed 7 years ago by Simon G. <dev@…>

  • Has patch set
  • Keywords documentation resolve_variable added
  • Summary changed from Update to docs/templates_python.txt to include information on "resolve_variable" to [patch] Update to docs/templates_python.txt to include information on "resolve_variable"
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 7 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 7 years ago by Gary Wilson <gary.wilson@…>

made correction mentioned in comment:3

comment:4 Changed 7 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:5 Changed 7 years ago by EMUNNYUNLIP

  • Cc Jbeil added
  • Keywords MESSAGE added; documentation resolve_variable removed
  • Summary changed from [patch] Update to docs/templates_python.txt to include information on "resolve_variable" to [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 7 years ago by anonymous

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

Revert ticket spam.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.