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

@@ -15,8 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from webob import Response, exc
from pymongo import DESCENDING
from mongokit import ObjectId
from mediagoblin.db.util import ObjectId, DESCENDING
import wtforms