[Checkins] SVN: bluebream/website/docs/v1.0/tutorial1.rst rearrange paragraphs
Baiju M
baiju.m.mail at gmail.com
Mon Mar 8 10:42:56 EST 2010
Log message for revision 109834:
rearrange paragraphs
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-03-08 14:41:32 UTC (rev 109833)
+++ bluebream/website/docs/v1.0/tutorial1.rst 2010-03-08 15:42:53 UTC (rev 109834)
@@ -958,6 +958,13 @@
>>> list(root.keys())
[u'mycolector']
+You can use this debug shell to introspect Python objects stored in
+ZODB. You can add, update or delete objects and attributes from the
+debug shell.
+
+A default view for collector
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
If you try to access the collector from the URL:
http://localhost:8080/mycolector , you will get ``NotFound`` error
like this::
@@ -967,12 +974,9 @@
NotFound: Object: <tc.main.ticketcollector.Collector object at 0x9fe44ac>, name: u'@@index'
This error is raised, because there is no view named ``index``
-registered for ``ICollector``. The next section will show how to
-create a default view for ``ICollector`` interface.
+registered for ``ICollector``. This section will show how to create
+a default view for ``ICollector`` interface.
-A default view for collector
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
As you have already seen in the :ref:`started-getting` chapter, you
can create a simple view and register it from ZCML.
@@ -993,7 +997,7 @@
/>
Now you can visit: http://localhost:8080/mycolector
-It should display a message like this:
+It should display a message like this::
Hello ticket collector!
More information about the checkins
mailing list