def METHOD_NAME(self, *args, **options):
    media_root = f'{settings.MEDIA_ROOT}/'
    if 1:
        print("Remove exit from start of the script if you want really execute this")
        exit(1)
    photos = Photo.objects.values('id', 'image', 'created', 'uploader_is_author', 'rephoto_of_id')