Awesome. Thanks!

BTW it's right there in the documentation. Apologies.

http://www.djangoproject.com/documentation/newforms/#using-a-subset-of-fields-on-the-form

On Aug 30, 3:40 pm, daev <[EMAIL PROTECTED]> wrote:
> То remove fields from from you don't need to use __init__
> form_for_model, form_for_instance function has _fields_ parameter
> where you can specify all the fields you need/ Example:
>
> Form  = form_for_model( Article, fields = ( "title", "text",
> "tags" ) )
>
> Creates form with this three fields of model.


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

Reply via email to