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):
@property
def string(self):
- return self.search
+ return self.search.string
@string.setter
def string(self, value):