

def contribute_to_related_class(self, cls, related):
    setattr(cls, related.get_accessor_name(), SingleRelatedObjectDescriptor(self))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/fields/related.py OneToOneField.contribute_to_related_class/VarMisuse@26/37 `related`->`self`