Fix search to do an AND of tags, not OR.
[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):