Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

blogs : Blogging functionality

The lino_xl.lib.blogs plugin adds blogging functionality.

This page is a tested document and the following instructions are used for initialization:

>>> 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.Blog

The Django model to represent a blog.

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