Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #886 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

Comment on docs/gs/predefined.html

Reported by: anonymous Owned by: ajones
Priority: normal Milestone: 1.0
Component: Documentation Version: 0.9a6
Severity: normal Keywords:
Cc:

Description

There should be a description at the end showing how to use currenttime from a template after having added it.

Change History

comment:1 Changed 13 years ago by jorge.vargas

  • Milestone set to 1.0

comment:2 Changed 13 years ago by ajones

  • Type changed from defect to enhancement

Anything added to view.variable_providers is available as tg.<dict_key> So, in the example the "currenttime" item would be available as tg.currenttime

I would add this, but the page is immutable to me, so i'll leave it for Kevin or Karl. ;)

comment:3 Changed 12 years ago by ajones

  • Owner changed from anonymous to ajones
  • Status changed from new to assigned

comment:4 Changed 12 years ago by ajones

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

This is now well documented in

 http://docs.turbogears.org/1.0/stdvars

I don't know that we need more than that.

Note: See TracTickets for help on using tickets.