title: Django Forms: Force the user to select one checkbox only at a time
body: <p>I am using Django forms to display checkboxes on my webpage as following:</p>
  
  <pre><code>class Myform(forms.Form):
      colors = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple, choices=COLORS)
  </code></pre>
  
  <p>and it is working pretty well. </p>
  
  <p><strong>My question is:: how to force the user to select only one checkbox at a time?</strong></p>
  
  <p>My code allows the user to select multiple checkboxes at the same time.</p>
  
  <p>Thank you for your time.</p>