title: Django: how to submit form whes user click radiobutton
body: <p>How to add:</p>
  
  <pre><code>onclick="this.form.submit();"
  </code></pre>
  
  <p>in my radiobutton form? I would like to post my form when user click to the radiobutton.</p>
  
  <pre><code>class MyForm(forms.Form):
  
  def __init__(self, *args, **kwargs):
      self.news = kwargs.pop('news')
      super(MyForm, self).__init__(*args, **kwargs)
      choices = ([ ("%s" % a.id, "%s" % a.text)  for a in  self.news])
      self.fields['new'] = forms.ChoiceField(choices = choices, widget=forms.RadioSelect())
  </code></pre>
  
  <p>I would like to have this result in template:</p>
  
  <pre><code>&lt;input type="radio" id="new" name="new" value="new"  onclick="this.form.submit();"&gt;
  </code></pre>