Django - DRF Advanced Features
In this nested serializer setup, the nested data is not validated properly. What is a common fix?
Validation errors in profile fields are not shown. What should you do?
class ProfileSerializer(serializers.Serializer):
bio = serializers.CharField()
class UserSerializer(serializers.Serializer):
username = serializers.CharField()
profile = ProfileSerializer()Validation errors in profile fields are not shown. What should you do?
