diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-20 12:39:15 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-03-20 12:45:40 +0100 |
commit | b829595334e10454a6528bdac944d781f6102145 (patch) | |
tree | 718eee8f57d82633fc289ae16dfcfb5b8a77d375 /docs/source/codebase.rst | |
parent | 39fd817ab8c4745187e5e1992d2f2866de38e2c2 (diff) | |
download | mediagoblin-b829595334e10454a6528bdac944d781f6102145.tar.lz mediagoblin-b829595334e10454a6528bdac944d781f6102145.tar.xz mediagoblin-b829595334e10454a6528bdac944d781f6102145.zip |
Create load_models().
So all models are ready when connecting to the db and so
our "db" object has all models listed on it, create a
function to load all models from the media_types, etc. Call
it in setup_database()
Problem: This gives celery warnings, because celery is
imported before being setup properly. No idea how to fix
this now. So media-type loading is excluded from
load_models for now.
Diffstat (limited to 'docs/source/codebase.rst')
0 files changed, 0 insertions, 0 deletions