Sending a message to a single user using django-channels : <p>I have been trying out <a href="https://channels.readthedocs.io/en/latest/" rel="noreferrer">django-channels</a> including reading the docs and playing around with the examples.</p>

<p>I want to be able to send a message to a single user that is triggered by saving a new instance to a database.</p>

<p>My use case is creating a new notification (via a celery task) and once the notification has saved, sending this notification to a single user.</p>

<p>This sounds like it is possible (from the <a href="http://channels.readthedocs.io/en/latest/concepts.html" rel="noreferrer">django-channels docs</a>)</p>

<blockquote>
  <p>...the crucial part is that you can run code (and so send on
  channels) in response to any event - and that includes ones you
  create. You can trigger on model saves, on other incoming messages, or
  from code paths inside views and forms.</p>
</blockquote>

<p>However reading the docs further and playing around with the <a href="https://github.com/andrewgodwin/channels-examples/" rel="noreferrer">django-channels examples</a>, I can't see how I can do this. The databinding and liveblog examples demonstrate sending to a group, but I can't see how to just send to a single user.</p>

<p>Any suggestions would be much appreciated.</p>
