miniblog.views

class miniblog.views.BaseView(request)[source]

View for all user related stuff.

categories[source]

A list of miniblog.models.Category that have entries attached.

recent[source]

A list of recent posts as returned by miniblog.models.get_recent_posts().

class miniblog.views.AdminView(request)[source]

View for all administration stuff.

Everything with a view config needs to have the permission edit or it might expose administrative functions to the end user:

@view_config(route_name='...', permission='edit')
def do_admin_stuff(self):
    ...

Previous topic

miniblog.models

Next topic

miniblog.forms

This Page