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 shipment n:m species
shipment has FK to supplier species has m2m field with shipmentThe latter implements a connecting table between species and shipment which can be expanded to carry additional information if you need to include anything related to a particular shipment + species
In all this I refer to the word species in its singular sense. E.g., we are members of the human species.
No matter how I try I can't seem to configure the models correctly. I was hoping someone could help me on this.Thank you. --You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ea61c33-9f24-470d-8191-177c2e73adf1n%40googlegroups.com <https://groups.google.com/d/msgid/django-users/5ea61c33-9f24-470d-8191-177c2e73adf1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- Signed email is an absolute defence against phishing. This email has been signed with my private key. If you import my public key you can automatically decrypt my signature and be sure it came from me. Just ask and I'll send it to you. Your email software can handle signing. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6f0cc685-13c2-0df4-529a-d11f6ba763c3%40dewhirst.com.au.
OpenPGP_signature
Description: OpenPGP digital signature