equal
deleted
inserted
replaced
220 We can for example add in front of the publication date a prefix specifying |
220 We can for example add in front of the publication date a prefix specifying |
221 that the date we see is the publication date. |
221 that the date we see is the publication date. |
222 |
222 |
223 To do so, please apply the following changes: |
223 To do so, please apply the following changes: |
224 |
224 |
225 .. code-block:: python |
225 .. sourcecode:: python |
226 |
226 |
227 from cubicweb.web.views import baseviews |
227 from cubicweb.web.views import baseviews |
228 |
228 |
229 |
229 |
230 class BlogEntryPrimaryView(baseviews.PrimaryView): |
230 class BlogEntryPrimaryView(baseviews.PrimaryView): |