def as_list(value):
    if isinstance(value, list):
        return value
    return [
        x.strip()
        for x in value.split(',')
        if x.strip()
    ]
Images from banned users should be visible to the banned user..
dataset/ETHPy150Open funkybob/django-classy-settings/cbs/utils.py/as_list--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_models.py/ImagePopularityManagerTest.test_with_user_current_user_is_banned