Re:The easiest way to add WebSockets to Django
by falcolas on Monday January 27, 2014 @11:21AM
(#7131127)
I see where I was confused; I looked at the actual code itself, not the example where tornado was living and being used.
What are the advantages of this over normal AJAX requests, given that it's all using the single request, single response mode of operation (and you can compress/cache AJAX requests/responses, which websockets doesn't support yet).
So from django's point of view there are stateless JSON requests and responses, so django's happy. The python proxy code is a lightweight wrapper that doesn't have to understand any business logic, so that's pretty straightforward as well.