# Django with SockJS

DevFeed: [Django with SockJS](<https://devfeed.tech/articles/django-with-sockjs-38912.md>)

Original publisher: [Read original article](<https://idea.popcount.org/2012-09-21-django-with-sockjs>)

Author: Marek

Published: 2012-09-20T22:00:00Z

Content type: tutorial

Language: en

Sources: [Marek Majkowski](<https://devfeed.tech/sources/marek-majkowski.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Python](<https://devfeed.tech/topics/python.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [servers](<https://devfeed.tech/topics/servers.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [django](<https://devfeed.tech/tags/django.md>), [http](<https://devfeed.tech/tags/http.md>), [python](<https://devfeed.tech/tags/python.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [web-server](<https://devfeed.tech/tags/web-server.md>)

## AI overview

A step-by-step tutorial for integrating Django with SockJS using SockJS-Tornado and a Tornado web server. It demonstrates serving a static file, exposing a SockJS endpoint, forwarding other requests to Django, and notes that separating Tornado and Django can improve production performance.

## Source excerpt

Django with SockJS Few days ago Peter Bengtsson wrote an interesting blog post on SockJS: The article is quite brief, let me try to provide step-by-step instructions on how to start your first Django on SockJS project. Python servers First, it's important to understand that there are many HTTP (okay, WSGI) servers for Django. SockJS requires pretty deep integration with the web server, and you will need to use a particular web server with SockJS support.