Re: Accessing new_object when processing formsets in Admin

2009-02-15 Thread Michael P. Soulier
On 14/02/09 Rick Kitts said: > Assuming the "main" form is valid I want to get the value of the FK to > the Address from the "main" form and use it when processing the forms > in the formset. I haven't tried formsets yet, but I currently do conditional validation of forms based on whether a g

Accessing new_object when processing formsets in Admin

2009-02-14 Thread Rick Kitts
Greetings, I'm hoping for some advice here. I'm using the admin that captures some information about a human, including their address (represented as an FK to an Address model thing). Additionally it has a formset (StackedInline) that displays N other forms that capture information abou