aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/mongo/open.py
Commit message (Collapse)AuthorAgeFilesLines
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Import MigrationManager from mongo in mongo backend.Elrond2012-01-041-1/+1
| | | | | | Inside the mongo db backend, use the mongo MigrationManager. This is hopefully the last reference to the generic MigrationManager reference on db.util.
* Factor out check_db_migrations_currentElrond2012-01-011-0/+23
| | | | | | | | | | When initializing the database connection the current mongo based setup checked for new migrations and warned about them. This was mongo specific so factor'd it out into a more generic check_db_migrations_current function in the mongo backend. Also created a dummy one in the sql backend.
* Move db/models.py -> db/mongo/models.pyElrond2011-12-201-1/+1
| | | | | To my surprise, there was only ONE reference to models.py. From open.py.
* Move db/open.py to db/mongo/open.pyElrond2011-12-201-0/+55
Starting to move the mongo specific stuff into db/mongo. And create thin "from db.mongo.Y import z" wrappers in db/Y.py. Why? 1) Will make it lots easier to switch to sql for testing/developing. 2) The mongo stuff needs to stay around after moving to sql, because the converter needs it.