old_contents: from rest_framework import serializers
  
  from bluebottle.projects.models import Project
  from bluebottle.utils.serializers import MoneySerializer
  from .models import Reward
  
  
  class RewardSerializer(serializers.ModelSerializer):
      project = serializers.SlugRelatedField(slug_field="slug", queryset=Project.objects)
      count = serializers.IntegerField(read_only=True)
      amount = MoneySerializer()
  
      class Meta:
          model = Reward
          fields = ('id', 'title', 'description', 'amount', 'limit', 'project', 'count')
  
new_contents: from moneyed import Money
  
  from rest_framework import serializers
  
  from bluebottle.projects.models import Project
  from bluebottle.utils.serializers import MoneySerializer
  from .models import Reward
  
  
  class RewardSerializer(serializers.ModelSerializer):
      project = serializers.SlugRelatedField(slug_field="slug", queryset=Project.objects)
      count = serializers.IntegerField(read_only=True)
      amount = MoneySerializer(min_value=Money(5, 'EUR'))
  
      class Meta:
          model = Reward
          fields = ('id', 'title', 'description', 'amount', 'limit', 'project', 'count')
  
subject: Fix reward serializer