Django Serializer Get Bildliste
def create(self, validated_data):
images_data = self.context['request'].FILES
post = Post.objects.create(**validated_data)
for image_data in images_data.getlist('image'):
PostImage.objects.create(post=post, image=image_data)
return post
Fierce Fly