def get_property_mapping():
    properties = {}
    for property in lfs.catalog.models.Property.objects.all():
        properties[property.id] = property

    return properties
Returns a dictionary with property id to property name.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/utils.py/get_property_mapping