Move ObjectId, DESCENDING to db.util

We used to import those from pymongo and mongokit directly.
We should import them from a single place. So let's try
db.util for this.
This commit is contained in:
Elrond
2011-05-18 11:32:29 +02:00
parent a4bae8700e
commit 254bc43174
5 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
import mongokit
from pymongo import DESCENDING
from mongokit import ObjectId
def connect_database(app_config):