Django – bypass CORS issue with channels

Starting from two days to work with channels and the first issue I faced is with Cross Origin 🙁 After some searches on google, the best solution is to install apache and configure a virtual server with the following settings:

I’m using socket.io client library     No related posts.

Python – Tornado and Celery integration

My new project involves both tornado (as frontend, using tornado-json) and celery (as backend). After googling too much I found two different ways to integrate celery with tornado: using an IOLoop to check for task completion (stackoverflow) using a unix socket (Cyberfart’s Blog) I prefer the IOLoop Here is a simple email sender example

[…]