fromdjango.db.models.fieldsimportTextFieldfromconfig_models.modelsimportConfigurationModelclassMobileApiConfig(ConfigurationModel):""" Configuration for the video upload feature. The order in which the comma-separated list of names of profiles are given is in priority order. """video_profiles=TextField(blank=True,help_text="A comma-separated list of names of profiles to include for videos returned from the mobile API.")@classmethoddefget_video_profiles(cls):""" Get the list of profiles in priority order when requesting from VAL """return[profile.strip()forprofileincls.current().video_profiles.split(",")ifprofile]# pylint: disable=no-member