title: Send websocket request from Django
body: <p>Here is my deal:</p>
  
  <ul>
  <li>I have a websocket pubsub server written in python with autobahn websocket (based on twisted).</li>
  <li>I have simple website that is connected to the server and subscribed to one channel</li>
  <li>Next to this I have simple Django project with one app</li>
  <li>And at last I have opened terminal with curl get request that hits my Django app</li>
  </ul>
  
  <p>After request form curl hits my django app and my view I need to send message to the server to the channel that my website is subscribed on. Basically I need websocket client that can send message to specific channel and can be run in django view (no infinite blocking loop).</p>
  
  <p>I've tried to figure out this over 4 days. I've wrote to writ autobahn pubsub client with twisted.reacotr, but I can send the message only once (after I stop reactor to finish django request I cannot start it again, because it's not restartable).</p>
  
  <p>I've olso tried djagno-socketio, but there is but, so I cannot see clients when I try to send the message from django view.</p>
  
  <p>ws4py doesn't support channels</p>
  
  <p>Thanks for any advice. Great would be an example.</p>