Tornado with Django

I am working on a Django project (RSS and Tweet aggregator)

  • How to use a tornado with django in this project (I need a tornado form that synchronizes the "real-time update function")
  • How to use django orm and django forms with a tornado to hmm make things easier with a tornado.
+6
source share
2 answers

These hacks are no longer needed with Tornado 2.0.

Now you can use tornado.wsgi.WSGIContainer to wrap django and run it on a tornado. You can even point out that some URLs go to the tornado and get asynchronous benefits, and some go to django!

See https://github.com/bdarnell/django-tornado-demo for

+20
source

Source: https://habr.com/ru/post/895866/


All Articles