uploaded by works, and now you can view art on its own page.
[zzz-floof.git] / floof / model / users.py
index 0f05a52..6b06048 100644 (file)
@@ -4,10 +4,12 @@
 #   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))
+    uploads = OneToMany('Art')
     has_many('identity_urls', of_kind='IdentityURL')
 
 class IdentityURL(Entity):