def get_option_mapping():
    options = {}
    for option in lfs.catalog.models.PropertyOption.objects.all():
        options[str(option.id)] = option
    return options
Returns a dictionary with option id to property name.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/utils.py/get_option_mapping