projects
/
zzz-floof.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
570a60f
)
Make User.name unique.
author
Eevee
<git@veekun.com>
Sun, 6 Dec 2009 04:13:15 +0000
(20:13 -0800)
committer
Eevee
<git@veekun.com>
Sun, 6 Dec 2009 04:13:15 +0000
(20:13 -0800)
floof/model/users.py
patch
|
blob
|
history
diff --git
a/floof/model/users.py
b/floof/model/users.py
index
bacdfe6
..
a6f3a6d
100644
(file)
--- a/
floof/model/users.py
+++ b/
floof/model/users.py
@@
-11,7
+11,7
@@
from elixir import *
from search import GalleryWidget
class User(Entity):
from search import GalleryWidget
class User(Entity):
- name = Field(Unicode(20))
+ name = Field(Unicode(20)
, unique=True
)
display_name = Field(Unicode(20))
uploads = OneToMany('Art')
has_many('identity_urls', of_kind='IdentityURL')
display_name = Field(Unicode(20))
uploads = OneToMany('Art')
has_many('identity_urls', of_kind='IdentityURL')