

def __set__(self, instance, value):
    if (instance is None):
        raise AttributeError('Manager must be accessed via instance')
    manager = self.__get__(instance)
    if manager.related.field.null:
        manager.clear()
    manager.add(*value)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/fields/related.py ForeignRelatedObjectsDescriptor.__set__/VarMisuse@40/59 `self`->`manager`