X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/7a76bb2835ed39ac91b74edfb7932349a079ea68..db4c5f0b56d22815ecc31754271797b2401c9458:/floof/model/users.py diff --git a/floof/model/users.py b/floof/model/users.py index bacdfe6..a6f3a6d 100644 --- a/floof/model/users.py +++ b/floof/model/users.py @@ -11,7 +11,7 @@ from elixir import * 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')