def get_absolute_url(self):
        try:
            return reverse('documents_file_view', args=[self.id])
        except Exception:
            return ""


# Document model
Returns a Choice class that represents a numeric choice range,
dataset/ETHPy150Open treeio/treeio/treeio/documents/models.py/File.get_absolute_url--crossover with--dataset/ETHPy150Open ionelmc/django-easyfilters/src/django_easyfilters/filters.py/make_numeric_range_choice