Mercurial > p > roundup > code
comparison doc/customizing.txt @ 3409:80dc8011228e
mention schema mutation
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 26 Sep 2005 02:03:34 +0000 |
| parents | 7d48c5b1e8f2 |
| children | 07c696890f55 |
comparison
equal
deleted
inserted
replaced
| 3408:cb29f5b39c6d | 3409:80dc8011228e |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.183 $ | 5 :Version: $Revision: 1.184 $ |
| 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:: |
| 2685 | 2685 |
| 2686 This example shows how to add a simple field (a due date) to the default | 2686 This example shows how to add a simple field (a due date) to the default |
| 2687 classic schema. It does not add any additional behaviour, such as enforcing | 2687 classic schema. It does not add any additional behaviour, such as enforcing |
| 2688 the due date, or causing automatic actions to fire if the due date passes. | 2688 the due date, or causing automatic actions to fire if the due date passes. |
| 2689 | 2689 |
| 2690 You add new fields by editing the ``schema.py`` file in you tracker's home. | |
| 2691 Schema changes are automatically applied to the database on the next | |
| 2692 tracker access (note that roundup-server would need to be restarted as it | |
| 2693 caches the schema). | |
| 2690 | 2694 |
| 2691 1. modify the schema:: | 2695 1. modify the schema:: |
| 2692 | 2696 |
| 2693 issue = IssueClass(db, "issue", | 2697 issue = IssueClass(db, "issue", |
| 2694 assignedto=Link("user"), topic=Multilink("keyword"), | 2698 assignedto=Link("user"), topic=Multilink("keyword"), |
