ForeignKey should also take string arg instead of class name
|Reported by:||Manuzhai||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Some ForeignKey relationships might be circular, due to the somewhat linear fashion of source code, this doesn't work so well. For example, you could have a Person and an Address, with a Person living at an Address as well as the Address having an owner who is, incidentally, a Person. It would be nice if
would be supported as well as
but according to jacobkm, that might not work. In which it would be
to make it easier on the black magic scripts to find the right model.