@models.permalink
    def get_delete_url(self):
        return ("slice_delete", (), {"slice_id": self.id})
Returns the URL to delete a slice
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/clearinghouse/slice/models.py/Slice.get_delete_url