form_valid(form) Redirects to get_success_url().
get_context_data(**kwargs) New in Django 1.9. Calls get_form() and adds the result to the context data with the name ‘form’.
get_form(form_class=None) Instantiate an instance of form_class using get_form_kwargs(). If form_class isn’t provided get_form_class() will be used.
get_form_class() Retrieve the form class to instantiate. By default form_class.
get_form_kwargs() Build the keyword arguments required to instantiate the form. The initial argument is set to get_initial(). If the request is a POST or PUT, the request data (request.POST and request.FILES) will also be provided.
get_initial() Retrieve initial data for the form. By default, returns a copy of initial.
get_prefix() Determine the prefix for the generated form. Returns prefix by default.
get_success_url() Determine the URL to redirect to when the form is successfully validated. Returns success_url by default.
initial A dictionary containing initial data for the form.
prefix The prefix for the generated form.
Page 4555 of 11844