Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move InvalidId to db.util | Elrond | 2011-06-20 | 1 | -0/+1 |
| | | | | | | Instead of import InvalidId from the low level bson module, first import it in our db.util wrapper and second import it from pymongo.errors. | ||||
* | Factor out most of the database connection into db/open.py | Elrond | 2011-05-19 | 1 | -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 Webber | 2011-05-18 | 1 | -1/+1 |
| | | | | from_celery | ||||
* | Need to import asint for users who specify ports via config file | Christopher Allan Webber | 2011-05-18 | 1 | -0/+2 |
| | |||||
* | Adding copyright headers and explaining why these unused imports are here | Christopher Allan Webber | 2011-05-18 | 1 | -0/+18 |
| | |||||
* | Move ObjectId, DESCENDING to db.util | Elrond | 2011-05-18 | 1 | -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.py | Elrond | 2011-05-18 | 1 | -0/+11 |