[Django]-Select a Valid Choice. 0 is not one of the available choices

49👍

You’re using integer values with a CharField. You have to either use the values '0' and '1' or change it to an IntegerField.

👤knbk

1👍

Use a default value also that will work!

👤rg8143

Leave a comment