Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tornado with Django [closed]

I'm working on Django project (RSS and Tweet aggregator)

  1. how to use tornado with django in this project ( all I need form tornado is synchronize "real time update feature")
  2. How to use django orm and django forms with tornado to hmm to do things easier with tornado
like image 919
AbdAllah Avatar asked Aug 25 '11 12:08

AbdAllah


1 Answers

Those hacks are no longer necessary as of Tornado 2.0.

Now you can use tornado.wsgi.WSGIContainer to wrap django and run it on tornado. You can even specify that some urls go to tornado and get the async benefits and some go to django!

Please see https://github.com/bdarnell/django-tornado-demo for a

like image 62
powersurge360 Avatar answered Oct 11 '22 06:10

powersurge360