Mercurial > p > roundup > code
comparison doc/customizing.txt @ 1228:c9f37630cf76
doc
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 26 Sep 2002 06:41:46 +0000 |
| parents | f83efa574177 |
| children | c0a3b1c49ef7 |
comparison
equal
deleted
inserted
replaced
| 1227:92d8e1aad2e9 | 1228:c9f37630cf76 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.46 $ | 5 :Version: $Revision: 1.47 $ |
| 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:: |
| 183 Note: if you modify the schema, you'll most likely need to edit the | 183 Note: if you modify the schema, you'll most likely need to edit the |
| 184 `web interface`_ HTML template files and `detectors`_ to reflect | 184 `web interface`_ HTML template files and `detectors`_ to reflect |
| 185 your changes. | 185 your changes. |
| 186 | 186 |
| 187 A tracker schema defines what data is stored in the tracker's database. | 187 A tracker schema defines what data is stored in the tracker's database. |
| 188 The | 188 The schemas shipped with Roundup turn it into a typical software bug tracker |
| 189 schemas shipped with Roundup turn it into a typical software bug tracker or | 189 or help desk. |
| 190 help desk. | |
| 191 | 190 |
| 192 XXX make sure we ship the help desk | 191 XXX make sure we ship the help desk |
| 193 | 192 |
| 194 Schemas are defined using Python code in the ``dbinit.py`` module of your | 193 Schemas are defined using Python code in the ``dbinit.py`` module of your |
| 195 tracker. The "classic" schema looks like this:: | 194 tracker. The "classic" schema looks like this:: |
| 1487 | 1486 |
| 1488 | 1487 |
| 1489 Examples | 1488 Examples |
| 1490 ======== | 1489 ======== |
| 1491 | 1490 |
| 1492 Adding a new field to a roundup schema | 1491 Adding a new field to the classic schema |
| 1493 -------------------------------------- | 1492 ---------------------------------------- |
| 1494 | 1493 |
| 1495 This example shows how to add a new constrained property (ie. a selection of | 1494 This example shows how to add a new constrained property (ie. a selection of |
| 1496 distinct values) to your tracker. | 1495 distinct values) to your tracker. |
| 1497 | 1496 |
| 1498 Introduction | 1497 Introduction |
