Mercurial > p > roundup > code
diff doc/customizing.txt @ 1254:77920c42aeb9
Expose the tracker config as a variable for templating
Homogenise newlines in CGI text submissions [SF#614072]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 09 Oct 2002 01:00:41 +0000 |
| parents | 209a47ede743 |
| children | e5af1b963837 |
line wrap: on
line diff
--- a/doc/customizing.txt Tue Oct 08 07:28:34 2002 +0000 +++ b/doc/customizing.txt Wed Oct 09 01:00:41 2002 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.53 $ +:Version: $Revision: 1.54 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -1032,10 +1032,11 @@ - *form* The current CGI form information as a mapping of form argument name to value -**tracker** - The current tracker +**config** + This variable holds all the values defined in the tracker config.py file + (eg. TRACKER_NAME, etc.) **db** - The current database, through which db.config may be reached. + The current database, used to access arbitrary database items. **templates** Access to all the tracker templates by name. Used mainly in *use-macro* commands.
