def automoderate(instance, user):
    try:
        status = instance.moderated_object.automoderate(user)
    except AttributeError:
        msg = "%s has been registered with Moderation." % instance.__class__
        raise RegistrationError(msg)

    return status
Send notification event.
dataset/ETHPy150Open dominno/django-moderation/moderation/helpers.py/automoderate--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/openstack/common/rpc/__init__.py/notify