chefsmart wrote:
> Yes, I overlooked the M2M relation in my rush. Thanks for pointing
> that out.
>
> I would use your model representations as is, except that the order
> field in the intermediary model ProcessPhase would be
>
> order = models.PositiveIntegerField(unique=True)
>
> instead of
>
>
Yes, I overlooked the M2M relation in my rush. Thanks for pointing
that out.
I would use your model representations as is, except that the order
field in the intermediary model ProcessPhase would be
order = models.PositiveIntegerField(unique=True)
instead of
order = models.PositiveIntegerField
chefsmart wrote:
> I have a particular scenario that I can't seem to figure out how to
> accomplish in Django.
>
> I have the following models: -
>
> class Process(models.Model):
> name = models.CharField(max_length=50)
> is_active = models.BooleanField(db_index=True)
>
> class Phase(model
I have a particular scenario that I can't seem to figure out how to
accomplish in Django.
I have the following models: -
class Process(models.Model):
name = models.CharField(max_length=50)
is_active = models.BooleanField(db_index=True)
class Phase(models.Model):
name = models.CharFi
4 matches
Mail list logo