[Fixed]-What is the Correct Django Model Relationship

1👍

✅

This is the wrong way round. You have a herd consisting of a single animal, but an animal belonging to many herds. You need to have the ForeignKey in Animal, pointing to Herd.

Leave a comment