Checkbox option in Django model

Hi all,

Appreciate your help and guidance on how to use checkbox option in Django model.

Best Regards,

You can’t use a checkbox in a model; it’s a form control, not a data type. If you have a boolean field in your model and you make a form to go along with the model, then you will by default get a checkbox. You can also explicitly choose to use a checkbox for given field on a form.