from elixir import *
# from users import User
-from floof.lib.search import do_search
class SavedSearch(Entity):
string = Field(Unicode) # I tried calling this query, but it broke elixir
author = ManyToOne('User')
+ fork = ManyToOne("SavedSearch")
def __unicode__(self):
return self.string
- @property
- def results(self):
- return do_search(self.string)
-
class GalleryWidget(Entity):