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

blogs : Blogging functionality

The lino_xl.lib.blogs plugin adds blogging functionality.

This document contains code snippets (lines starting with >>>) that get tested as part of our development workflow.

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