'Returns absolute URL of the object'

def get_absolute_url(self):

    try:
        return reverse('knowledge_item_view', args=[self.folder.treepath, self.treepath])
    except Exception:
        return ''
