On Mar 10, 2016 9:01 PM, "Denis Makarov" <makarov...@gmail.com> wrote:
>
> Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form?
Models define tables in a database. Forms assist in creating HTML forms for gathering, valididating and saving user input. Does that help?
On Mar 10, 2016 9:01 PM, "Denis Makarov" <makarov...@gmail.com> wrote:
>
> Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form?Models define tables in a database. Forms assist in creating HTML forms for gathering, valididating and saving user input. Does that help?
The documentation I think uses forms.ModelForn which is ideal for building forms which directly relate to models in your database.