def get_absolute_url(self):
    if (not self.parent):
        return (u'/%s/' % self.slug)
    return ('%s%s/' % (self.parent.get_absolute_url(), self.slug))
def get_absolute_url(self):
    if (not self.parent):
        return (u'/%s/' % self.slug)
    return ('%s%s/' % (self.parent.get_absolute_url(), self.slug))