How to use Channel instead of Group when using django channels?
<p>I 'm trying to make use of the channels project (<a href="http://channels.readthedocs.org/en/latest/index.html" rel="noreferrer">http://channels.readthedocs.org/en/latest/index.html</a>) on django.</p>

<p>While on the docs there is a good tutorial for building a Group-based websocket application(chat), I couldn't find something related to a simple push mechanism that will be client specific (so no need to use Group)</p>

<p>Let's say I want to build a feed aggregator with various news providers and when a user visits the homepage and waits for all the feeds to get parsed, I want to send him informational messages about which one is being parsed by the server, while he waits.</p>

<p>What I got now is:
consumers.py</p>

<pre><code>from channels import Group, Channel
from .views import sort_articles_by_date
from .soup import ProviderParser
from .models import Provider


# Connected to websocket.connect and websocket.keepalive
def ws_add(message):
    Group("news_providers_loading").add(message.reply_channel)

def ws_message(message):
    providers = Provider.objects.all()

    articles = []
    for provider in providers:
        Group("news_providers_loading").send({'content': str(provider)})
        parser = ProviderParser(provider)
        articles.extend(parser.parse_articles())

     sort_articles_by_date(articles)


 # Connected to websocket.disconnect
 def ws_disconnect(message):
     Group("news_providers_loading").discard(message.reply_channel)
</code></pre>

<p>routing.py</p>

<pre><code>channel_routing = {
    "websocket.connect": "news_providers.consumers.ws_add",
    "websocket.keepalive": "news_providers.consumers.ws_add",
    "websocket.receive": "news_providers.consumers.ws_message",
    "websocket.disconnect": "news_providers.consumers.ws_disconnect",
}
</code></pre>

<p>Though it works ok, I can't help it but feel that's a bit overkill(?)
Is there a way to just make use of the Channel constructor, instead of Group?</p>

<p>Thanks :)</p>