Re: Re: Incorrect deletion of records in a relationship table

2006-09-15 Thread Russell Keith-Magee
On 9/15/06, Vizcayno <[EMAIL PROTECTED]> wrote: > > Russell: > The error happens using the Admin view. > I need to rectify one thing please, I beg your pardon, instead of > modifying Fredo to Frido please, modify for example Maria to Mario, > i.e. when I modify the data that has DATA3 as X and

Re: Incorrect deletion of records in a relationship table

2006-09-15 Thread Vizcayno
Russell: The error happens using the Admin view. I need to rectify one thing please, I beg your pardon, instead of modifying Fredo to Frido please, modify for example Maria to Mario, i.e. when I modify the data that has DATA3 as X and this data is related to other record in the same table, the

Re: Incorrect deletion of records in a relationship table

2006-09-14 Thread Russell Keith-Magee
On 9/15/06, Vizcayno <[EMAIL PROTECTED]> wrote: > But some steps before, Assuming I created the first five records only, > screen for creation of Carla will show: > Data2 ->: Carla > Data4 ->:Choice Maria, Jose or David (only 3 are shown in data4 > because of the Data3 field condition wh

Re: Incorrect deletion of records in a relationship table

2006-09-14 Thread Vizcayno
Russel: Thanks for your attention. I send you an example Assuming the model: class Tab1(models.Model): data1 = models.CharField(maxlength=10) data2 = models.CharField(maxlength=50) data3 = models.BooleanField(default=False) data4 = models.ManyToManyField('self', null=True, blank=T

Re: Incorrect deletion of records in a relationship table

2006-09-14 Thread Russell Keith-Magee
On 9/15/06, Vizcayno <[EMAIL PROTECTED]> wrote: > > I need to assume the symmetrical=True and at the same time keep the > condition limit_choices_to={'data3__exact': True}, however when, for > example, I modify data1 or data2 and the corresponding record has > data3=true and is related to another