title: Django - How to get the prefix for each form in formset
body: <p>In a formset with multiple forms, each form gets a unique id like "MyForm-0_form" whereas MyForm is a the common prefix and 0 is the iterated form index.</p>
  
  <p>Let's say the template looks like this</p>
  
  <p><strong>template.py:</strong></p>
  
  <pre><code>&lt;form action="" method="POST&gt;
  {% for form in formset %}
  {{form}
  {% endfor %}
  &lt;/form&gt;
  </code></pre>
  
  <p>When the form has been submitted I would like to do something like the following:</p>
  
  <p><strong>view.py:</strong></p>
  
  <pre><code>[...]
  if request.method == "POST":
    if formset.isValid():
      for form in formset:
        print form.currentFormID #here i get stuck. What I would like to yield: MyForm-0
  </code></pre>