On Tue, Sep 29, 2009 at 2:32 PM, Kenneth Gonsalves
<law...@thenilgiris.com>wrote:

>
> On Saturday 19 Sep 2009 5:13:39 pm Kenneth Gonsalves wrote:
> > On Monday 14 Sep 2009 1:56:32 am Bret Taylor wrote:
> > > he module:
> > >
> > >     import django.core.handlers.wsgi
> > >     import os
> > >     import tornado.httpserver
> > >     import tornado.ioloop
> > >     import tornado.wsgi
> > >
> > >     def main():
> > >         os.environ["DJANGO_SETTINGS_MODULE"] = 'myapp.settings'
> > >         application = django.core.handlers.wsgi.WSGIHandler()
> > >         container = tornado.wsgi.WSGIContainer(application)
> > >         http_server = tornado.httpserver.HTTPServer(container)
> > >         http_server.listen(8888)
> > >         tornado.ioloop.IOLoop.instance().start()
> > >
> > >     if __name__ == "__main__":
> > >         main()
> >
> > cool - this worked out of the box - but no css and js - can I serve media
> > from tornado, and if so, a pointer as to how?
>
> solved - managed to run several django sites of an nginx instance using
> virtual hosts and individual tornado servers for each virtual host.
> Coolness


Kenneth,

Why don't you doc it somewhere for future queries and for newbies switching?
Also have you see any tangible performance improvement?


> .
> --
> regards
> kg
> http://lawgon.livejournal.com
>
> >
>


-- 
Ramdas S
+91 9342 583 065

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to