If you need to allow the commas as input, then you need to change the field to be a CharField and not a numeric field. You can then use JavaScript to perform front-end verification of the entered field along with performing the validation in your view.