def user_preference_form_builder(instance, preferences=[], **kwargs):
    return preference_form_builder(UserPreferenceForm, preferences, model={'instance': instance}, **kwargs)
A shortcut :py:func:`preference_form_builder(UserPreferenceForm, preferences, **kwargs)`
dataset/ETHPy150Open EliotBerriot/django-dynamic-preferences/dynamic_preferences/forms.py/user_preference_form_builder