projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4869343
)
adds user bio and website url fields to the database
author
cfdv
<caldavis@gmail.com>
Sat, 18 Jun 2011 20:00:05 +0000
(15:00 -0500)
committer
cfdv
<caldavis@gmail.com>
Sat, 18 Jun 2011 20:00:05 +0000
(15:00 -0500)
mediagoblin/db/models.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/db/models.py
b/mediagoblin/db/models.py
index d77cf61921496598baa99a84810f1abb5ac95580..4b6518cc59011f81b32eb682f033c0f44d924990 100644
(file)
--- a/
mediagoblin/db/models.py
+++ b/
mediagoblin/db/models.py
@@
-46,6
+46,8
@@
class User(Document):
'status': unicode,
'verification_key': unicode,
'is_admin': bool,
+ 'website_url' : unicode,
+ 'bio' : unicode
}
required_fields = ['username', 'created', 'pw_hash', 'email']