projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ratings work. Searching for ratings, not so much yet.
[zzz-floof.git]
/
floof
/
model
/
users.py
diff --git
a/floof/model/users.py
b/floof/model/users.py
index
0f05a52
..
6b06048
100644
(file)
--- a/
floof/model/users.py
+++ b/
floof/model/users.py
@@
-4,10
+4,12
@@
# Copyright (c) 2009 Scribblr
#
# Copyright (c) 2009 Scribblr
#
-from elixir import Entity, Field, Unicode, belongs_to, has_many
+# from elixir import Entity, Field, Unicode, belongs_to, has_many
+from elixir import *
class User(Entity):
name = Field(Unicode(20))
class User(Entity):
name = Field(Unicode(20))
+ uploads = OneToMany('Art')
has_many('identity_urls', of_kind='IdentityURL')
class IdentityURL(Entity):
has_many('identity_urls', of_kind='IdentityURL')
class IdentityURL(Entity):