How do i get the models / objects that relate to a model / object?
I know that a ForeignKey adds accessors. It would be enough to list them.
I have the usual ForeignKey Field szenario:
class Tag(models.Model):
...
person = ForeignKey(Person)
class Person(models.Model):
...
I know i could write person_object.tag_set - the accessor added by the ForeignKey. But that's no option in a generic szenario.
It seems that the class ForeignObject offers a solution, but how do i use it?