1👍
✅
Field is names course_tags
so you should use this name when you fetch tags from validated data:
def create(self, validated_data):
...
tags_data = validated_data.pop('course_tags', None)
Otherwise course_tags
is still in validated_data
and Course.objects.create()
raises the error.
Source:stackexchange.com