1👍
✅
I think you have mismatch between ints and chars.
If your field is CharField, then make the choices char (the first element in each tuple), not int (e.g. ‘0’ and not 0 or use letter).
Alternatively, change it to IntegerField.
BTW. You don’t need both fields and exclude in your form.
👤eran
Source:stackexchange.com