class MyUserRegistrationSerializer(serializers.ModelSerializer):


    class Meta:
        model = User
fields = 'email', 'first_name', 'password'
validators = [RequiredValidator(fields=('email', 'first_name', 'password'))]
django-rest-framework how to make model serializer fields required