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)
> >
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)
> >
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
3 matches
Mail list logo