Generic views

Fastview defines a set of generic views - subclasses of the Django generic views with a bit more functionality:

All Fastview views have the following additional attributes:

  • title = "view title" - used for templates

  • permission = Permission() - used to control access - see permissions

  • template names default to fastview/<action>.html - eg Create’s default template is fastview/create.html. Override as normal by setting template_name.

Configuring the generic views