Django

Code

Ticket #2655 (closed: fixed)

Opened 2 years ago

Last modified 1 year ago

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

Reported by: dave@thebarproject.com Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords: documentation resolve_variable
Cc: Jbeil Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

resolve_variable_docspatch.diff (3.3 kB) - added by dave@thebarproject.com on 09/04/06 18:57:03.
Documentation patch to docs/template_python.txt
resolve_variable_docspatch2.diff (3.3 kB) - added by Gary Wilson <gary.wilson@gmail.com> on 01/19/07 12:28:51.
made correction mentioned in comment:3

Change History

09/04/06 18:57:03 changed by dave@thebarproject.com

  • attachment resolve_variable_docspatch.diff added.

Documentation patch to docs/template_python.txt

09/04/06 18:57:46 changed by dave@thebarproject.com

  • 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".

01/18/07 03:26:04 changed by Simon G. <dev@simon.net.nz>

  • keywords set to documentation resolve_variable.
  • has_patch set to 1.
  • 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".
  • stage changed from Unreviewed to Ready for checkin.

01/19/07 06:59:31 changed by dave@thebarproject.com

Line 800 should read:

actual_date = resolve_variable(self.date_to_format, context)

not

actual_date = resolve_variable(date_to_format, context)

01/19/07 12:28:51 changed by Gary Wilson <gary.wilson@gmail.com>

  • attachment resolve_variable_docspatch2.diff added.

made correction mentioned in comment:3

02/10/07 02:29:34 changed by mtredinnick

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

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

08/14/07 10:44:02 changed by EMUNNYUNLIP

  • cc set to Jbeil.
  • keywords changed from documentation resolve_variable to MESSAGE.
  • 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/

08/14/07 11:28:16 changed by anonymous

  • keywords changed from MESSAGE to documentation resolve_variable.
  • 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/Change #2655 ([patch] Update to docs/templates_python.txt to include information on "resolve_variable")




Change Properties
Action