Skip to content

Commit 2c26d18

Browse files
author
Richard Jones
committed
doc fix
1 parent e27a0f6 commit 2c26d18

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.177 $
5+
:Version: $Revision: 1.178 $
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
@@ -3198,16 +3198,20 @@ Tracking different types of issues
31983198
Sometimes you will want to track different types of issues - developer,
31993199
customer support, systems, sales leads, etc. A single Roundup tracker is
32003200
able to support multiple types of issues. This example demonstrates adding
3201-
a customer support issue class to a tracker.
3201+
a system support issue class to a tracker.
32023202

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

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

3210+
# list our systems
3211+
system = Class(db, "system", name=String(), order=Number())
3212+
system.setkey("name")
3213+
3214+
# store issues related to those systems
32113215
support = IssueClass(db, "support",
32123216
assignedto=Link("user"), topic=Multilink("keyword"),
32133217
status=Link("status"), deadline=Date(),

0 commit comments

Comments
 (0)