diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-03-25 21:27:52 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-03-25 21:27:52 -0500 |
commit | db61f7d15255b7f9bf697108be2175018a780810 (patch) | |
tree | 5248b6781e40a60a09a5f1e9fb9d79a2a5ff08af /mediagoblin/models.py | |
parent | d232e0f6be4be977634f1a2bbd39ca401dfb296d (diff) | |
download | mediagoblin-db61f7d15255b7f9bf697108be2175018a780810.tar.lz mediagoblin-db61f7d15255b7f9bf697108be2175018a780810.tar.xz mediagoblin-db61f7d15255b7f9bf697108be2175018a780810.zip |
A simple register_modules helper function.
Diffstat (limited to 'mediagoblin/models.py')
-rw-r--r-- | mediagoblin/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/models.py b/mediagoblin/models.py index 3471ddc7..07d841bf 100644 --- a/mediagoblin/models.py +++ b/mediagoblin/models.py @@ -29,4 +29,5 @@ def register_models(connection): """ Register all models in REGISTER_MODELS with this connection. """ - pass + connection.register(REGISTER_MODELS) + |