diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-03 09:58:35 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-03 09:58:35 -0500 |
commit | 73a6e206e679b707ba6b0e138b74e96b94da75f4 (patch) | |
tree | e1dc51c0770ea384917b9d53c5c4acd6ec9d83dd | |
parent | db78002412c588273bc6177bc1c1b6ab6d1c37a0 (diff) | |
download | mediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.tar.lz mediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.tar.xz mediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.zip |
Put the User object officially in the 'users' document collection
-rw-r--r-- | mediagoblin/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
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, |