

def save_model(self, request, obj, form, change):
    if (not obj.user):
        obj.user = request.user
    obj.save()
    if ((not obj._was_deleted) and self.deleted):
        deletion_msg = ugettext_noop('Site administrator deleted your <a href="{url}">marker</a>. Reason of deletion: {reason}'.format(url=obj.get_absolute_url(), reason=obj.why_deleted))
        obj.user.send_message(deletion_msg, system=True)

dataset/ETHPy150Open jsmesami/naovoce/src/fruit/admin.py FruitAdmin.save_model/VarMisuse@52/57 `obj`->`self`