Skip to content

Commit 0e9e3fa

Browse files
author
Richard Jones
committed
doc fix
1 parent 4e86ae5 commit 0e9e3fa

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/customizing.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.161.2.13 $
5+
:Version: $Revision: 1.161.2.14 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -3195,16 +3195,20 @@ Tracking different types of issues
31953195
Sometimes you will want to track different types of issues - developer,
31963196
customer support, systems, sales leads, etc. A single Roundup tracker is
31973197
able to support multiple types of issues. This example demonstrates adding
3198-
a customer support issue class to a tracker.
3198+
a system support issue class to a tracker.
31993199

32003200
1. Figure out what information you're going to want to capture. OK, so
32013201
this is obvious, but sometimes it's better to actually sit down for a
32023202
while and think about the schema you're going to implement.
32033203

3204-
2. Add the new issue class to your tracker's ``schema.py`` - in this
3205-
example, we're adding a "system support" class. Just after the "issue"
3206-
class definition, add::
3204+
2. Add the new issue class to your tracker's ``schema.py``. Just after the
3205+
"issue" class definition, add::
32073206

3207+
# list our systems
3208+
system = Class(db, "system", name=String(), order=Number())
3209+
system.setkey("name")
3210+
3211+
# store issues related to those systems
32083212
support = IssueClass(db, "support",
32093213
assignedto=Link("user"), topic=Multilink("keyword"),
32103214
status=Link("status"), deadline=Date(),

0 commit comments

Comments
 (0)