Re: can't get m2m_changed signal working

2010-09-14 Thread allyb
belong to the model. > > On Sep 13, 1:27 pm, allyb wrote: > > > I'm finding it difficult to denormalise a field in a django model. I > > have: > > >     class AnswerSet(models.Model): > >         title = models.CharField(max_length=255) > >      

Re: can't get m2m_changed signal working

2010-09-14 Thread allyb
belong to the model. > > On Sep 13, 1:27 pm, allyb wrote: > > > I'm finding it difficult to denormalise a field in a django model. I > > have: > > >     class AnswerSet(models.Model): > >         title = models.CharField(max_length=255) > >      

can't get m2m_changed signal working

2010-09-13 Thread allyb
I'm finding it difficult to denormalise a field in a django model. I have: class AnswerSet(models.Model): title = models.CharField(max_length=255) num_answers = models.PositiveIntegerField(editable=False, default=0) answers = models.ManyToManyField(Answer, through='Answ