Re: Model or Form class

2016-03-12 Thread Tony Flury
You can use forms.Form when you want to build a custom form which isn't directly connected to a model on the database. For instance one use for a forms.Form is where you are collecting data which will be stored into attributes on different models. The documentation I think uses

Re: Model or Form class

2016-03-11 Thread Denis Makarov
I read this, but in tutorial not used forms.Form class. I know how created forms on models.Model and forms.Form. But when I must use first and when second? суббота, 12 марта 2016 г., 0:56:34 UTC+3 пользователь James Schneider написал: > > On Mar 10, 2016 9:01 PM, "Denis Makarov"

Re: Model or Form class

2016-03-11 Thread James Schneider
> > On Mar 10, 2016 9:01 PM, "Denis Makarov" 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

Re: Model or Form class

2016-03-11 Thread Denis Makarov
You mean, that I must use Models.Model for database and Forms for creating forms both? пятница, 11 марта 2016 г., 7:06:01 UTC+3 пользователь bob gailer написал: > > > On Mar 10, 2016 9:01 PM, "Denis Makarov" > wrote: > > > > Hello guys! In whitch cases need to use

Re: Model or Form class

2016-03-10 Thread Bob Gailer
On Mar 10, 2016 9:01 PM, "Denis Makarov" 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

Model or Form class

2016-03-10 Thread Denis Makarov
Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Don't understand it readed the documentation. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from