aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/util.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Factor out most of the database connection into db/open.pyElrond2011-05-191-13/+0
| | | | | | | | I needed to split the db connection/opening into open.py, due to an import loop: - util.py needs db/util.py:ObjectId - db/util.py would need db/models.py - db/models.py needs util.py:slugify
* Renaming connect_database to connect_database_from_config and using in ↵Christopher Allan Webber2011-05-181-1/+1
| | | | from_celery
* Need to import asint for users who specify ports via config fileChristopher Allan Webber2011-05-181-0/+2
|
* Adding copyright headers and explaining why these unused imports are hereChristopher Allan Webber2011-05-181-0/+18
|
* Move ObjectId, DESCENDING to db.utilElrond2011-05-181-0/+2
| | | | | | 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.
* Move "connect to database" into db/util.pyElrond2011-05-181-0/+11