Symmetrical foreign key/m2m relationship are not possible.
|Reported by:||brooks.travis@…||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have two models, each with a foreign key or m2m relationship to the other. When I try to validate my project these two apps throw errors, saying that the model referenced as the foreign key does not exist. I think I uderstand why things work this way, but some way of allowing this would be good, as the situation I am presented with truly requires this functionality. I need to be able to create "people" records with a list of affiliated "places", as well as specify a primary contact from "people" for each "place". Thanks.