[Checkins] SVN: bluebream/website/docs/v1.0/tutorial1.rst verify objects being added

Baiju M baiju.m.mail at gmail.com
Tue Jan 19 01:02:18 EST 2010


Log message for revision 108247:
  verify objects being added
  

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

-=-
Modified: bluebream/website/docs/v1.0/tutorial1.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial1.rst	2010-01-19 05:36:11 UTC (rev 108246)
+++ bluebream/website/docs/v1.0/tutorial1.rst	2010-01-19 06:02:18 UTC (rev 108247)
@@ -740,9 +740,28 @@
      class=".views.AddTicketCollector"
      />
 
-Now you can acces the URL: http://localhost:8080/@@add_ticket_collector .
-It should display a form where you can enter details like
+Now you can acces the URL:
+http://localhost:8080/@@add_ticket_collector .  It should display a
+form where you can enter details like ``name`` and ``description``.
+You cann enter the ``name`` as ``mytracker``, after entering data,
+submit the form.
 
+You can see the file size of ``var/filestorage/Data.fs`` is
+increasing as objects are getting added.  The ``Data.fs`` is where
+the data is physically stored.
+
+You can also confirm the object is actually saved into database from
+Python shell.  If you go to Python shell and try to access the root
+object, you can see that it has the object you added:
+
+  jack at computer:/projects/ticketcollector$ ./bin/paster shell debug.ini
+  ...
+  Welcome to the interactive debug prompt.
+  The 'root' variable contains the ZODB root folder.
+  The 'app' variable contains the Debugger, 'app.publish(path)' simulates a request.
+  >>> list(root.keys())
+  [u'mytracker']
+
 A default view for collector
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 



More information about the checkins mailing list