title: Persistent MongoDB Connection With Django
body: <p>I am currently using (or hoping to use) both PostgreSQL and MongoDB for my Django project. When it comes to MongoDB I've been looking at PyMongo to make the connection, and add/edit info using Python. Most likely I will be calling PyMongo in my <code>views.py</code> to read/insert/edit data from MongoDB.</p>
  
  <p>For the sake of this question, let's say I have a view called <code>worksheet</code>, which querys some data from MongoDB relevant to the current user. However I would like to maintain a persistent connection to the database so that I do not have to make a new connection every time a user visits the <code>worksheet</code> view. </p>
  
  <p>Is there any way I could make a persistent connection so I am not wasting time/resources making new connections to MongoDB every time? Thanks. </p>