diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-05-19 01:35:02 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-05-19 01:35:02 +0200 |
commit | a67fec8177c09c4e74ce7f4301b88f4e7ea6e658 (patch) | |
tree | 72cfef277382314716e101988b6469dba324ae64 /mediagoblin/util.py | |
parent | 86f9b473877434e5a811d057e192c91a70d67ef5 (diff) | |
download | mediagoblin-a67fec8177c09c4e74ce7f4301b88f4e7ea6e658.tar.lz mediagoblin-a67fec8177c09c4e74ce7f4301b88f4e7ea6e658.tar.xz mediagoblin-a67fec8177c09c4e74ce7f4301b88f4e7ea6e658.zip |
Factor out most of the database connection into db/open.py
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
Diffstat (limited to 'mediagoblin/util.py')
0 files changed, 0 insertions, 0 deletions