Mercurial > p > roundup > code
comparison doc/reference.txt @ 8384:e0e3212c1e80
doc: better document the template property in the request object.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Jul 2025 17:25:03 -0400 |
| parents | 628794414f5f |
| children | ef1ea918b07a |
comparison
equal
deleted
inserted
replaced
| 8383:628794414f5f | 8384:e0e3212c1e80 |
|---|---|
| 2733 - "env" the CGI environment variables | 2733 - "env" the CGI environment variables |
| 2734 - "base" the base URL of this instance | 2734 - "base" the base URL of this instance |
| 2735 - "user" a HTMLItem instance for the current user | 2735 - "user" a HTMLItem instance for the current user |
| 2736 - "language" as determined by the browser or configuration | 2736 - "language" as determined by the browser or configuration |
| 2737 - "classname" the current classname (possibly None) | 2737 - "classname" the current classname (possibly None) |
| 2738 - "template" the current template (suffix, also possibly None) | 2738 - "template" the current template (e.g. for the ``issue.item.html`` |
| 2739 template the template would be the ``item`` suffix on the | |
| 2740 classname. It can also be the empty string (e.g. with the | |
| 2741 ``home.html`` template). | |
| 2739 **config** | 2742 **config** |
| 2740 This variable holds all the values defined in the tracker config.ini | 2743 This variable holds all the values defined in the tracker config.ini |
| 2741 file (e.g. TRACKER_NAME, etc.) | 2744 file (e.g. TRACKER_NAME, etc.) |
| 2742 **db** | 2745 **db** |
| 2743 The current database, used to access arbitrary database items. | 2746 The current database, used to access arbitrary database items. |
