From db61f7d15255b7f9bf697108be2175018a780810 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 25 Mar 2011 21:27:52 -0500 Subject: [PATCH] A simple register_modules helper function. --- mediagoblin/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) +