Opened 12 years ago

Closed 12 years ago

#3173 closed defect (worksforme)

Symmetrical foreign key/m2m relationship are not possible.

Reported by: brooks.travis@… Owned by: Adrian Holovaty
Component: Core (Other) Version: master
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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.

Change History (1)

comment:1 Changed 12 years ago by Russell Keith-Magee

Resolution: worksforme
Status: newclosed

If this is a question, it should be directed at the django-users mailing list. If you think you have actually found a bug, still ask around on django users, but provide an complete test case (i.e., a model that fails validation), not just some vague reference to something that might be a problem.

Note: See TracTickets for help on using tickets.
Back to Top