old_contents: from rest_framework import serializers
  from scraper.models import Author, Paper, Project
  
  
  class AuthorSerializer(serializers.ModelSerializer):
  	"""
  	Serializes authors
  	"""
  
  	class Meta:
  		model = Author
  		fields = ('name',)
  
  
  class PaperSerializer(serializers.ModelSerializer):
  	"""
  	Serializes papers
  	"""
  	authors = serializers.StringRelatedField(many=True)
  
  	class Meta:
  		model = Paper
  		fields = ('url', 'title', 'citations', 'abstract', 'journal', 'volume', 'issue', 'year', 'authors',)
  
  
  class ProjectSerializer(serializers.ModelSerializer):
  	"""
  	Serializes projects
  	"""
  
  	class Meta:
  		model = Paper
  		fields = ('researcher', 'title', 'url', 'funding_amount',)
  
new_contents: from rest_framework import serializers
  from scraper.models import Author, Paper, Project
  
  
  class AuthorSerializer(serializers.ModelSerializer):
  	"""
  	Serializes authors
  	"""
  
  	class Meta:
  		model = Author
  		fields = ('name',)
  
  
  class PaperSerializer(serializers.ModelSerializer):
  	"""
  	Serializes papers
  	"""
  	authors = serializers.StringRelatedField(many=True)
  
  	class Meta:
  		model = Paper
  		fields = ('url', 'title', 'citations', 'abstract', 'journal', 'volume', 'issue', 'year', 'authors',)
  
  
  class ProjectSerializer(serializers.ModelSerializer):
  	"""
  	Serializes projects
  	"""
  
  	class Meta:
  		model = Project
  		fields = ('researcher', 'title', 'url', 'funding_amount',)
  
subject: Fix ProjectSerializer