Blog

The blog app contains the boilerplate code needed to create a basic blog

Models

class arpegio.blog.models.Post(*args, **kwargs)[source]

Post Model.

get_absolute_url()[source]

Get the absolute url of a post

Managers

class arpegio.blog.managers.PostManager[source]

Post manager

public()[source]

Filter the queryset to obtain the public posts.

sticky()[source]

Filter the queryset to obtain the sticky posts.

Views

class arpegio.blog.views.PostList(**kwargs)[source]

Post list view.

model

alias of Post

class arpegio.blog.views.PostDetail(**kwargs)[source]

Post detail view.

model

alias of Post