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.
Source:stackexchange.com
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.