

def create_default_thumbnails(instance=None, created=False, **kwargs):
    if created:
        for size in AUTO_GENERATE_AVATAR_SIZES:
            instance.create_thumbnail(size)

dataset/ETHPy150Open amarandon/smeuhsocial/apps/avatar/__init__.py create_default_thumbnails/original