old_contents: __author__ = 'elsabakiu'
  
  from crowdsourcing import models
  from datetime import datetime
  from rest_framework import serializers
  import json
  
  
  class TaskPropertiesSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.Task
  
  
  class TaskWorkerSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.TaskWorker
          
  
  class QualificationSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.Qualification
  
new_contents: __author__ = 'elsabakiu'
  
  from crowdsourcing import models
  from datetime import datetime
  from rest_framework import serializers
  import json
  
  
  class TaskPropertiesSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.Task
  
  
  class TaskWorkerSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.TaskWorker
          
  
  class QualificationSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.Qualification
          
  
  class TaskSerializer(serializers.ModelSerializer):
      class Meta:
          model = models.Task        
          fields = ( 'module', 'statuses','status', 'deleted', 'created_timestamp')
  
subject: Update task.py