Mercurial > p > roundup > code
comparison doc/customizing.txt @ 1255:e5af1b963837
minor doc fix
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 10 Oct 2002 03:47:00 +0000 |
| parents | 77920c42aeb9 |
| children | a66dd1573ebd |
comparison
equal
deleted
inserted
replaced
| 1254:77920c42aeb9 | 1255:e5af1b963837 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.54 $ | 5 :Version: $Revision: 1.55 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 2078 | 2078 |
| 2079 1. add a Multilink property to the status class:: | 2079 1. add a Multilink property to the status class:: |
| 2080 | 2080 |
| 2081 stat = Class(db, "status", ... , transitions=Multilink('status'), ...) | 2081 stat = Class(db, "status", ... , transitions=Multilink('status'), ...) |
| 2082 | 2082 |
| 2083 and then edit the statuses already created through the web using the | 2083 and then edit the statuses already created either: |
| 2084 generic class list / CSV editor. | 2084 |
| 2085 a. through the web using the class list -> status class editor, or | |
| 2086 b. using the roundup-admin "set" command. | |
| 2085 | 2087 |
| 2086 2. add an auditor module ``checktransition.py`` in your tracker's | 2088 2. add an auditor module ``checktransition.py`` in your tracker's |
| 2087 ``detectors`` directory:: | 2089 ``detectors`` directory:: |
| 2088 | 2090 |
| 2089 def checktransition(db, cl, nodeid, newvalues): | 2091 def checktransition(db, cl, nodeid, newvalues): |
