aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/open.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into f411_new_migrationsChristopher Allan Webber2011-07-131-1/+2
|\ | | | | | | | | Conflicts: mediagoblin/db/open.py
| * Move db_name default into config_spec.iniElrond2011-07-111-1/+1
| | | | | | | | | | | | | | The default name of the database ("mediagoblin") was coded in db/open.py and init/celery/__init__.py. Instead use the new config system to have this as the default for the "db_name" config option.
* | give option in connect_database_from_config to connect to a pymongo.ConnectionChristopher Allan Webber2011-07-101-8/+25
|/
* Factor out most of the database connection into db/open.pyElrond2011-05-191-0/+37
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