Django/Tornado implementation of a long polling messaging application built on top of Django's ORM