How to read Django documentation?

FormView

here, the picture class FormView inherited class is a top-down display. Because, knowing the source code:

  • class FormView (TemplateResponseMixin, BaseFormView) '' 'form for display, rendering the corresponding template form' ''
  • class TemplateResponseMixin '' 'without parameters, can be used to render the template mixin' ''
  • class BaseFormView (FormMixin, ProcessFormView) '' 'forms the basis for the view display' ''
  • class FormMixin (ContextMixin) '' 'provided in the request and the processing method for displaying a form' ''
  • class ProcessFormView (View) '' 'in the form presented GET, processed form at POST. '' '
  • class View '' 'provides a simple parent class for all views. Only achieved a simple method for integrity checking and dispatch '' '

Guess you like

Origin www.cnblogs.com/daemonFlY/p/11671743.html