X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/ee952326340b2251b42db34f4823b0495338be86..e0b6c733c6bea7ff31b9361650fb8534b9433597:/floof/model/search.py?ds=sidebyside diff --git a/floof/model/search.py b/floof/model/search.py index 01d45a2..37f2d5f 100644 --- a/floof/model/search.py +++ b/floof/model/search.py @@ -1,19 +1,15 @@ 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):