To make your views clean and simple, it is good practice to move the handling of the form data to the form itself whenever this is possible and makes sense. The common practice is to have a save() method that will save the data, perform search, or do some other smart actions. We will extend the form that is defined in the previous recipe with the save() method, which will send an email to the selected recipient.
Utilizing the save method of the form
Getting ready
We will build upon the example that is defined in the Passing HttpRequest to the form recipe.