Try using formsets or model formsets.

http://docs.djangoproject.com/en/dev/topics/forms/formsets/

As for remembering some information about the form without displaying it, in 
your case it sounds like the guest form could have a foreign key to the party 
they're attending. You could exclude that  key from the form that is displayed 
to the user (using 'exclude' in the class meta). You can access the guest 
instance from within the guest form by using self.instance, so the party can be 
accessed via self.instance.party in your custom clean() and save() code.

Shawn

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