aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/models.py
diff options
context:
space:
mode:
authorJakob Kramer <jakob.kramer@gmx.de>2011-05-29 19:49:25 +0200
committerJakob Kramer <jakob.kramer@gmx.de>2011-05-29 19:49:25 +0200
commitdb5912e358043c90194c6409fa09ab07d16df4c3 (patch)
tree28d51243607204ba08c96a61b74fc10655ab32a9 /mediagoblin/db/models.py
parentff6b9f7279d7ee2efceae933da43f4a9b6459465 (diff)
downloadmediagoblin-db5912e358043c90194c6409fa09ab07d16df4c3.tar.lz
mediagoblin-db5912e358043c90194c6409fa09ab07d16df4c3.tar.xz
mediagoblin-db5912e358043c90194c6409fa09ab07d16df4c3.zip
remove all 'username_repr' stuff
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r--mediagoblin/db/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 0b4390d7..37420834 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -38,7 +38,6 @@ class User(Document):
structure = {
'username': unicode,
- 'username_repr': unicode,
'email': unicode,
'created': datetime.datetime,
'plugin_data': dict, # plugins can dump stuff here.
@@ -49,7 +48,7 @@ class User(Document):
'is_admin': bool,
}
- required_fields = ['username', 'username_repr', 'created', 'pw_hash', 'email']
+ required_fields = ['username', 'created', 'pw_hash', 'email']
default_values = {
'created': datetime.datetime.utcnow,