def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join((self.title or '', self.text or '', self.reason or '', str(self.category) if self.category else '', user_name_helper(self.submitters.all()), user_name_helper(self.supporters.all()), " ".join(tag.name for tag in self.tags.all())))
def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join(( self.title or '', self.text or '', self.reason or '', str(self.category) if self.category else '', user_name_helper(self.submitters.all()), user_name_helper(self.supporters.all()), " ".join(tag.name for tag in self.tags.all())))
def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join(( self.title, user_name_helper(self.uploader)))
def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join((self.title, self.description, user_name_helper(self.related_users.all()), " ".join(tag.name for tag in self.tags.all())))
def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join(( user_name_helper(self), self.structure_level, self.about_me))
def get_search_index_string(self): """ Returns a string that can be indexed for the search. """ return " ".join(( self.title, self.description, user_name_helper(self.related_users.all()), " ".join(tag.name for tag in self.tags.all())))