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:
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
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.
#
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
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
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.
6 matches
Mail list logo