On 7/9/07, ilDave <[EMAIL PROTECTED]> wrote:
>
> Hi!
> I have to show two identical forms in a page, so I used form_for_model
> and I created two form objects.
...
> What am I missing?

Try form_for_model(MyModel, fields=('field1','field2')). That will
generate a form for MyModel that only contains the named fields.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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