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? -- regards kg http://lawgon.livejournal.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---