def count_unread_messages_between(self, to_user, from_user):
        unread_total = self.filter(message__sender=from_user,
                                   user=to_user,
                                   read_at__isnull=True,
                                   deleted_at__isnull=True).count()

        return unread_total
Initialize RPC notifiers for agents.
dataset/ETHPy150Open clione/django-kanban/src/core/userena/contrib/umessages/managers.py/MessageRecipientManager.count_unread_messages_between--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/plugins/ml2/plugin.py/Ml2Plugin._start_rpc_notifiers