REDIS_HOST = getattr(settings, 'REDIS_HOST', '127.0.0.1')


class YourNamespace(BaseNamespace):

    def _listener(self, channel_label_you_later_call_in_post_save):
        pubsub = redis.StrictRedis(REDIS_HOST).pubsub()
pubsub.subscribe(chan)
while True:
    for i in pubsub.listen():
        self.send({'message_data': i}, json=True)

def recv_message(self, message):
    if is_message_to_subscribe(message):
        self.spawn(self.listener, get_your_channel_label(message))
Как генерировать событие Socket IO на стороне сервера