X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/f263f51648eef9739caa92e19ec45b32d7a1e49e..36dba08534b4309de0e0746784e2a6c5bb854030:/floof/model/search.py?ds=inline diff --git a/floof/model/search.py b/floof/model/search.py index fb86f35..f03de51 100644 --- a/floof/model/search.py +++ b/floof/model/search.py @@ -10,13 +10,6 @@ class SavedSearch(Entity): def __unicode__(self): return self.string - @property - def results(self): - # This caused some cyclic dependencies when I tried importing it - # at the module level. I wonder why that is... - from floof.lib.search import do_search - return do_search(self.string) - class GalleryWidget(Entity): @@ -31,7 +24,7 @@ class GalleryWidget(Entity): @property def string(self): - return self.search + return self.search.string @string.setter def string(self, value):