def get_absolute_url(self):
        try:
            return reverse('documents_weblink_view', args=[self.id])
        except Exception:
            return ""
Returns absolute URL of the object
dataset/ETHPy150Open treeio/treeio/treeio/documents/models.py/WebLink.get_absolute_url