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" <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?
>>>
>>
> Have you been through the official tutorial yet? You can see both models 
> and forms in use with an example and explanations.
>
> https://docs.djangoproject.com/en/1.9/intro/tutorial01/ 
>
> -James
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/74ae17ca-8cb7-4283-841a-83bc83cb3f66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to