Re: Validating or modifying admin inlines against main form

2010-09-28 Thread derek
On Sep 28, 12:16 pm, graeme wrote: > I need to do one of the following in the admin using Django 1.2: > > 1. Validate a value in a form against which objects have been added > using an inline form. > 2. Add or delete related objects depending on the value in the main >

Validating or modifying admin inlines against main form

2010-09-28 Thread graeme
I need to do one of the following in the admin using Django 1.2: 1. Validate a value in a form against which objects have been added using an inline form. 2. Add or delete related objects depending on the value in the main model from. The first would be preferable as the user would be able to