Utilizing the save method of the form

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.28.197