title: How can I build multiple submit buttons django form?
body: <p>I have form with one input for email and two submit buttons to subscribe and unsubscribe from newsletter:</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
  {{ form_newsletter }}
  &lt;input type="submit" name="newsletter_sub" value="Subscribe" /&gt;
  &lt;input type="submit" name="newsletter_unsub" value="Unsubscribe" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I have also class form:</p>
  
  <pre><code>class NewsletterForm(forms.ModelForm):
      class Meta:
          model = Newsletter
          fields = ('email',)
  </code></pre>
  
  <p>I must write my own clean_email method and I need to know by which button was form submited. But the value of submit buttons aren't in <code>self.cleaned_data</code> dictionary.
  Could I get values of buttons otherwise?</p>