[Checkins] SVN: bluebream/website/docs/v1.0/tutorial2.rst expand comment section

Baiju M baiju.m.mail at gmail.com
Thu Mar 11 22:09:27 EST 2010


Log message for revision 109920:
  expand comment section
  

Changed:
  U   bluebream/website/docs/v1.0/tutorial2.rst

-=-
Modified: bluebream/website/docs/v1.0/tutorial2.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial2.rst	2010-03-12 02:54:33 UTC (rev 109919)
+++ bluebream/website/docs/v1.0/tutorial2.rst	2010-03-12 03:09:23 UTC (rev 109920)
@@ -367,7 +367,7 @@
 In this section, you will create `comment` objects and add it to
 tickets.  As the first step, you need to define the interface for the
 comments.  You can add this interface definition inside
-``interfaces.py``::
+``src/tc/main/interfaces.py``::
 
   class IComment(Interface):
       """Comment for Ticket"""
@@ -420,8 +420,8 @@
        />
   </class>
 
-This is not sufficient to add comment to tickets.  Now ticket is not
-a container.  So, you need to change the interface::
+You can add ``ItemTypePrecondition`` to ``ITicket``.  Open the
+``src/tc/main/interfaces.py`` and update the interface definition::
 
   class ITicket(IContainer):
       """Ticket - the ticket content component"""
@@ -480,7 +480,9 @@
   </body>
   </html>
 
-You need to create an ``AddForm`` like this::
+You need to create an ``AddForm`` like this.  Open the
+``src/tc/main/views.py`` file and update with the ``AddComment`` form
+given below::
 
   from tc.main.interfaces import IComment
   from tc.main.comment import Comment



More information about the checkins mailing list