def get_configurable_properties(self):
        # global
        properties = []
        for property_group in self.property_groups.all():
            for prop in property_group.properties.filter(configurable=True).order_by("groupspropertiesrelation"):
                properties.append({'property_group': property_group, 'property': prop})

        # local
        for prop in self.properties.filter(configurable=True).order_by("productspropertiesrelation"):
            properties.append(prop)

        return properties
Returns all properties which are configurable.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_configurable_properties