aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/models.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-04-03 09:58:35 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-04-03 09:58:35 -0500
commit73a6e206e679b707ba6b0e138b74e96b94da75f4 (patch)
treee1dc51c0770ea384917b9d53c5c4acd6ec9d83dd /mediagoblin/models.py
parentdb78002412c588273bc6177bc1c1b6ab6d1c37a0 (diff)
downloadmediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.tar.lz
mediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.tar.xz
mediagoblin-73a6e206e679b707ba6b0e138b74e96b94da75f4.zip
Put the User object officially in the 'users' document collection
Diffstat (limited to 'mediagoblin/models.py')
-rw-r--r--mediagoblin/models.py2
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,