Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
blogs
: Blogging functionality¶
The lino_xl.lib.blogs
plugin adds blogging functionality.
All code snippets on this page (lines starting with >>>
) are being
tested as part of our development workflow. The following
snippet initializes a demo project to use throughout this page.
>>> import lino
>>> lino.startup('lino_book.projects.cms1.settings')
>>> from lino.api.doctest import *
Which means that code snippets in this document are tested using the
lino_book.projects.cms1
demo project.
- class lino_xl.lib.blogs.Entry¶
The Django model to represent a blog entry.
- pub_date¶
The publication date.
- user¶
The author.
- blog¶
The blog to which this entry belongs.
This is a foreign key pointing to
Blog
.
- title¶
- body¶