Tuesday, December 4, 2012

Inline formset with different default values for each "extra" row


For a product up to three different vendors have been identified and I want to present a row per vendor (which is a fk) so that the user could select order quantities from each vendor. 

If a vendor doesn't have an order quantity, I'd want to ignore it at form.save() time, rather than reject it.

Pointers are appreciated.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate