class django.views.generic.edit.ProcessFormView
A mixin that provides basic HTTP GET and POST workflow.
Note
This is named ‘ProcessFormView’ and inherits directly from django.views.generic.base.View, but breaks if used independently, so it is more of a mixin.
Extends
Methods and Attributes
-
get(request, *args, **kwargs) -
Renders a response using a context created with
get_context_data().Changed in Django 1.9:Construction of the form was moved from this method to
get_context_data().
-
post(request, *args, **kwargs) -
Constructs a form, checks the form for validity, and handles it accordingly.
-
put(*args, **kwargs) -
The
PUTaction is also handled and just passes all parameters through topost().
Please login to continue.