def create(self, validated_data):
    profiles_data = validated_data.pop('profiles')
user = User.objects.create(**validated_data)
create multiple objects using writable nested serializers in django rest framework 3