Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

blogs : Blogging functionality

The lino_xl.lib.blogs plugin adds blogging functionality.

Side note: Code snippets (lines starting with >>>) in this document get tested as part of our development workflow. The following initialization snippet tells you which demo project is being used in this document.

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