doc/book/en/development/devweb/views/primary.rst
branchstable
changeset 5388 9167751463d4
parent 5362 e185d708a36f
equal deleted inserted replaced
5384:b619531ddbd2 5388:9167751463d4
   233 with its own specific criterion.
   233 with its own specific criterion.
   234 
   234 
   235 The view method ``self.w()`` is used to output data. Here `lines
   235 The view method ``self.w()`` is used to output data. Here `lines
   236 08-09` output HTML for the publication date of the entry.
   236 08-09` output HTML for the publication date of the entry.
   237 
   237 
   238 .. image:: ../../../images/lax-book.09-new-view-blogentry.en.png
   238 .. image:: ../../../images/lax-book_09-new-view-blogentry_en.png
   239    :alt: blog entries now look much nicer
   239    :alt: blog entries now look much nicer
   240 
   240 
   241 Let us now improve the primary view of a blog
   241 Let us now improve the primary view of a blog
   242 
   242 
   243 .. sourcecode:: python
   243 .. sourcecode:: python
   306   unicode strings.
   306   unicode strings.
   307 
   307 
   308 Assuming we added entries to the blog titled `MyLife`, displaying it
   308 Assuming we added entries to the blog titled `MyLife`, displaying it
   309 now allows to read its description and all its entries.
   309 now allows to read its description and all its entries.
   310 
   310 
   311 .. image:: ../../../images/lax-book.10-blog-with-two-entries.en.png
   311 .. image:: ../../../images/lax-book_10-blog-with-two-entries_en.png
   312    :alt: a blog and all its entries
   312    :alt: a blog and all its entries