X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/f267b2f2841d407dcdf9c3c0f5406f8c10403ccb..36dba08534b4309de0e0746784e2a6c5bb854030:/floof/model/search.py?ds=sidebyside diff --git a/floof/model/search.py b/floof/model/search.py index 2296491..f03de51 100644 --- a/floof/model/search.py +++ b/floof/model/search.py @@ -1,7 +1,6 @@ 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 @@ -11,10 +10,6 @@ class SavedSearch(Entity): def __unicode__(self): return self.string - @property - def results(self): - return do_search(self.string) - class GalleryWidget(Entity): @@ -29,7 +24,7 @@ class GalleryWidget(Entity): @property def string(self): - return self.search + return self.search.string @string.setter def string(self, value):