projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b70b9
)
Fixes traceback on registration
author
Will Kahn-Greene
<willg@bluesock.org>
Mon, 25 Apr 2011 01:53:57 +0000
(21:53 -0400)
committer
Will Kahn-Greene
<willg@bluesock.org>
Mon, 25 Apr 2011 01:53:57 +0000
(21:53 -0400)
values must be unicode.
mediagoblin/models.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/models.py
b/mediagoblin/models.py
index 9e0ee8cac9b0611ec20158a13d877a8344fdf380..eef59ed4d553311d49e0e0c49c828e2e308dcbee 100644
(file)
--- a/
mediagoblin/models.py
+++ b/
mediagoblin/models.py
@@
-49,7
+49,7
@@
class User(Document):
'created': datetime.datetime.utcnow,
'email_verified': False,
# TODO: shouldn't be active by default, must have email registration
- 'status': 'active'}
+ 'status':
u
'active'}
def check_login(self, password):
"""