> First do I have to code/generate my forms using my models?

No.  Model forms are basically a shortcut to the very common use case
of creating a form to update or save a single model object.  With
regular forms, you just have to explicitly declare your form fields
instead of counting on the modelform module to build the fields for
you based on the model.

> If not then if I code my form from scratch will it still have all or
> most of the background functionality as it would if I had generated it
> driectly from the models?

Much of it.  You won't have save() functionality built in, and the
only validators run will be those related to your specific form field
declarations, and those you explicitly define yourself -- i.e. it
won't inherit any validation from your models because it's not linked
to your models.

> Like will I still be able to use field
> validators and be able to use some of the methods like is_valid(),
> clean(), is_bound, as_p(), as_ul(), as_table(), etc.?

Yes, all of those.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to