Solutionunvalidated
Inside your serializer, you can use a CharField for the ratio field — if you want to send an empty string and then convert to Int in the validation method.
62f49405-175a-43b5-8713-3772b439ad82
Inside your serializer, you can use a CharField for the ratio field — if you want to send an empty string and then convert to Int in the validation method.