AlexejStukov
AlexejStukov
@hishnash Maybe you should consider adding adding your projects to the [channels community project list](https://channels.readthedocs.io/en/latest/community.html) to gain some traction.
Ok, this should work on Debian based system and on others, but I could not test it for anything besides Ubuntu.
@areski: Is something wrong this this pull request? Should I change something? I really would like to have this functionality.
You should be able to access the channel information by using ``` javascript swampdragon.onChannelMessage(function (channels, message) { for(var i in channels) { if (channels[i] == "your_channel") { // your code...
@aantipov Ah, now I see your problem. You are subscribing to the same route with 3 different channels. If you want to handle different kinds of messages you have 3...
@aantipov It enables you to bundle several server_channels to one channel. I think it is intended to use `get_subscription_contexts(self, **kwags)` or `get_subscription_channels(self, **kwargs)` or two different routes, depending on your...
@aantipov As an example I use ``` javascript swampdragon.open(function() { {% for object in object_list %} swampdragon.subscribe('object-route', "object", {"pk":"{{ object.pk }}"}, function (context, data) { }, function (context, data) {...
Hello @mfyang, you have to subscribe to `'geo'`. Look at [this example](http://swampdragon.net/tutorial/building-a-real-time-server-monitor-app-with-swampdragon-and-django/) in the swampdragon documentation for details.
Hi @Wineartist , paste the following code inside your settings.py to enable error logging: ``` python if DEBUG: LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'simple': { 'format':...
You are using `ModelPubRouter` and should therefore overwrite `get_subscription_context` and not `get_subscription_channels` ([documentation](http://swampdragon.net/documentation/routers/)).