def get_related_field(self):
        return self.to._meta.get_field(self.field_name)
Returns the Field in the 'to' object to which this relationship is tied.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/models/fields/related.py/ManyToOneRel.get_related_field