Mercurial > p > roundup > code
comparison doc/customizing.txt @ 3411:24da57887e63 maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 26 Sep 2005 02:06:25 +0000 |
| parents | 0607d084ebef |
| children |
comparison
equal
deleted
inserted
replaced
| 3407:8b71ef16bede | 3411:24da57887e63 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.161.2.18 $ | 5 :Version: $Revision: 1.161.2.19 $ |
| 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:: |
| 2674 | 2674 |
| 2675 This example shows how to add a simple field (a due date) to the default | 2675 This example shows how to add a simple field (a due date) to the default |
| 2676 classic schema. It does not add any additional behaviour, such as enforcing | 2676 classic schema. It does not add any additional behaviour, such as enforcing |
| 2677 the due date, or causing automatic actions to fire if the due date passes. | 2677 the due date, or causing automatic actions to fire if the due date passes. |
| 2678 | 2678 |
| 2679 You add new fields by editing the ``schema.py`` file in you tracker's home. | |
| 2680 Schema changes are automatically applied to the database on the next | |
| 2681 tracker access (note that roundup-server would need to be restarted as it | |
| 2682 caches the schema). | |
| 2679 | 2683 |
| 2680 1. modify the schema:: | 2684 1. modify the schema:: |
| 2681 | 2685 |
| 2682 issue = IssueClass(db, "issue", | 2686 issue = IssueClass(db, "issue", |
| 2683 assignedto=Link("user"), topic=Multilink("keyword"), | 2687 assignedto=Link("user"), topic=Multilink("keyword"), |
