Class-based generic views - flattened index

Class-based generic views - flattened index

This index provides an alternate organization of the reference documentation for class-based views. For each view, the effective attributes and methods from the class tree are represented under that view. For the reference documentation organized by the class which defines the behavior, see Class-based views.

See also

Classy Class-Based Views provides a nice interface to navigate the class hierarchy of the built-in class-based views.

Simple generic views

View

class View

Attributes (with optional accessor):

Methods

TemplateView

class TemplateView

Attributes (with optional accessor):

Methods

RedirectView

class RedirectView

Attributes (with optional accessor):

Methods

Detail Views

DetailView

class DetailView

Attributes (with optional accessor):

Methods

List Views

ListView

class ListView

Attributes (with optional accessor):

Methods

Editing views

FormView

class FormView

Attributes (with optional accessor):

Methods

CreateView

class CreateView

Attributes (with optional accessor):

Methods

UpdateView

class UpdateView

Attributes (with optional accessor):

Methods

(本文超出站点单文档体积上限,已按小节截断)