Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
blogs
: Blogging functionality¶
The lino_xl.lib.blogs
plugin adds blogging functionality.
This page contains code snippets (lines starting with >>>
), which are
being tested during our development workflow. The following
snippet initializes the demo project used 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¶