Mercurial > p > roundup > code
comparison doc/customizing.txt @ 3291:bb08ffc56967
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 20 Apr 2005 06:33:50 +0000 |
| parents | 5da323b46907 |
| children | 8c7b522dc934 |
comparison
equal
deleted
inserted
replaced
| 3289:5da323b46907 | 3291:bb08ffc56967 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.178 $ | 5 :Version: $Revision: 1.179 $ |
| 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:: |
| 2523 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 2523 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 2524 | 2524 |
| 2525 Create a new action class in your tracker's ``extensions`` directory, for | 2525 Create a new action class in your tracker's ``extensions`` directory, for |
| 2526 example ``myaction.py``:: | 2526 example ``myaction.py``:: |
| 2527 | 2527 |
| 2528 from roundup.cgi.actions import Action | |
| 2529 | |
| 2528 class MyAction(Action): | 2530 class MyAction(Action): |
| 2529 def handle(self): | 2531 def handle(self): |
| 2530 ''' Perform some action. No return value is required. | 2532 ''' Perform some action. No return value is required. |
| 2531 ''' | 2533 ''' |
| 2532 | 2534 |
