diff --git a/leasing/serializers/rent.py b/leasing/serializers/rent.py index 15d2a70b..8b9a7010 100644 --- a/leasing/serializers/rent.py +++ b/leasing/serializers/rent.py @@ -51,10 +51,10 @@ class Meta: class IndexNumberYearlySerializer(serializers.Serializer): id = serializers.IntegerField(required=False) - number = serializers.DecimalField(max_digits=10, decimal_places=2) + number = serializers.DecimalField(max_digits=8, decimal_places=1) year = serializers.IntegerField() region = serializers.CharField(max_length=255, required=False, allow_null=True) - comment = serializers.CharField(max_length=255, required=False, allow_null=True) + comment = serializers.CharField(required=False, allow_null=True) class Meta: model = IndexNumberYearly