def save_model(self, request, obj, form, change):
        if not obj.user:
            obj.user = request.user
        obj.save()

        if not obj._was_deleted or obj.deleted:
            # Inform user that we have deleted her marker.
            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/operator `and` -> `or`