Re: model configuration

2021-06-06 Thread frank dilorenzo
and Django is smart enough to > fugure it out. > > Cheers > > Mike > > > > -- > (Unsigned mail from my phone) > > > > Original message > From: frank dilorenzo > Date: 5/6/21 01:20 (GMT+10:00) > To: Django users > Subject:

Re: model configuration

2021-06-04 Thread Mike Dewhirst
e: 5/6/21 01:20 (GMT+10:00) To: Django users Subject: Re: model configuration Thank Mike.  I am sorry for all this code but I am including it to show the problem I can't resolve.  I have 3 apps, shipment, supplier, specie. This is the models for them.from django.db import modelsfr

Re: model configuration

2021-06-04 Thread frank dilorenzo
Thank Mike. I am sorry for all this code but I am including it to show the problem I can't resolve. I have 3 apps, shipment, supplier, specie. This is the models for them. from django.db import models from .models import Shipment from django.utils import timezone # Create your models here. #

Re: model configuration

2021-06-03 Thread Mike Dewhirst
On 4/06/2021 1:39 pm, Mike Dewhirst wrote: On 4/06/2021 11:34 am, frank dilorenzo wrote: I have the following conditions. A supplier can have many shipments. A shipment can have many species. A shipment can have only one supplier. Species can belong to many shipments. supplier 1:n shipment shi

Re: model configuration

2021-06-03 Thread Mike Dewhirst
On 4/06/2021 11:34 am, frank dilorenzo wrote: I have the following conditions. A supplier can have many shipments. A shipment can have many species. A shipment can have only one supplier. Species can belong to many shipments. supplier 1:n shipment shipment n:m species No matter how I try I c

model configuration

2021-06-03 Thread frank dilorenzo
I have the following conditions. A supplier can have many shipments. A shipment can have many species. A shipment can have only one supplier. Species can belong to many shipments. No matter how I try I can't seem to configure the models correctly. I was hoping someone could help me on this.