doc/book/en/development/devweb/views/primary.rst
branchstable
changeset 5362 e185d708a36f
parent 5312 d2dbba898a96
child 5388 9167751463d4
--- a/doc/book/en/development/devweb/views/primary.rst	Tue Apr 20 15:35:13 2010 +0200
+++ b/doc/book/en/development/devweb/views/primary.rst	Tue Apr 20 18:32:42 2010 +0200
@@ -210,12 +210,12 @@
 We continue along the basic tutorial :ref:`tuto_blog`.
 
 If you want to change the way a ``BlogEntry`` is displayed, just override
-the method ``cell_call()`` of the view ``primary`` in ``BlogDemo/views.py``:
+the method ``cell_call()`` of the view ``primary`` in ``BlogDemo/views.py``.
 
 .. sourcecode:: python
 
   from cubicweb.selectors import implements
-  from cubicweb.web.views.primary improt Primaryview
+  from cubicweb.web.views.primary import Primaryview
 
   class BlogEntryPrimaryView(PrimaryView):
     __select__ = PrimaryView.__select__ & implements('BlogEntry')