def safe_title(self): "gets the title - safe for use in urls" from utilz.manipulators import safe_title return safe_title(self.title)
def seo_string(self): from utilz.manipulators import safe_title return safe_title("%s %s" % (self.title, self.location if self.location else ""))