def send_observation_notices_for(observed, signal='post_save', extra_context=None):
    observed_items = ObservedItem.objects.all_for(observed, signal)
    for item in observed_items:
        if extra_context is None:
            extra_context = {}

        context = {
            "observed": item.observed_object,
        }
        context.update(extra_context)

        send([item.user], item.notice_type.label, context)
    return observed_items
Send a notice for each registered user about an observed object.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/notifications.py/send_observation_notices_for