What does your form field look like for this form?
Are you getting this error in server-side validation or from the browser?
(Note that the thousand’s separator is not considered part of a numeric value. It is not legal to enter 1,000.10, you would need to enter it as 1000.10. If you need “1,000.10” to be accepted as a valid entry, you need to find a JavaScript widget to support that.)
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.
So, if it’s not posting back to the server, why do you think that making any changes in the view is going to help this situation? Nothing is being submitted, no code in the server is going to execute.
To be clear, I’m talking about forms.CharField (or the TextInput widget, or type="text"), notmodels.CharField.
Again, your issue here is not with “trying to save the comma”. Your immediate problem is that “35,000” is not a valid type="number" input in your input field. You’re not even at the point where it’s trying to save this to the database.
Side note: I sincerely hope you’re not trying to use a FloatField for a monetary value. That’s a huge mistake, and the reason why Django (and databases) provide a DecimalField.