From 73a6e206e679b707ba6b0e138b74e96b94da75f4 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 3 Apr 2011 09:58:35 -0500 Subject: [PATCH] Put the User object officially in the 'users' document collection --- mediagoblin/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mediagoblin/models.py b/mediagoblin/models.py index c05fe3de..31ddf13c 100644 --- a/mediagoblin/models.py +++ b/mediagoblin/models.py @@ -44,6 +44,8 @@ class MediaEntry(Document): pass class User(Document): + __collection__ = 'users' + structure = { 'username': unicode, 'created': datetime.datetime,