code: def create(self, validated_data):
      project = Project.objects.create(**validated_data)
      user_object = self.initial_data.get("user_object")
      Membership(project=project, user=user_object, key=uuid4()).save()
      project.save()
  
      return project
  
file_path: modelchimp/modelchimp/serializers/project.py
imports: from uuid import uuid4
  from rest_framework import serializers
  from django.db import transaction
  from modelchimp.models.project import Project
  from modelchimp.models.membership import Membership
  from modelchimp.serializers.membership import MembershipSerializer
label_desc: Use image node_id 7 for calling the ProjectSerializer obj's underlying member method code with example usage: obj.create(validated_data) and returns: project