title: Sharing a database between Twisted and Django
body: <p>I am developing a multiplayer gaming server that uses Django for the webserver (HTML frontend, user authentication, games available, leaderboard, etc.) and Twisted to handle connections between the players and the games and to interface with the games themselves.  The gameserver, the webserver, and the database may run on different machines.</p>
  
  <p>What is the "best" way to architect the shared database, in a manner that supports changes to the database schema going forward.  Should I try incorporating Django's ORM in the Twisted framework and used deferreds to make it non-blocking?  Should I be stuck creating and maintaining two separate databases schemas / interfaces, one in Django's model and the other using twisted.enterprise.row?</p>
  
  <p>Similarly, with user authentication, should I utilize twisted's user authentication functionality, or try to include Django modules into the gameserver to handle user authentication on the game side?</p>