title: Django, unique IDs for form fields
body: <p>I have a simple Django form:</p>
  
  <pre><code>class CommentForm(forms.Form):
      comment = forms.CharField(max_length=2000, required=True)
      post_id = forms.CharField(max_length=2000, widget=forms.HiddenInput, required=True)
      parent_id = forms.CharField(max_length=2000, widget=forms.HiddenInput, required=True)
  </code></pre>
  
  <p>Now I want to print this form several times on my page - I am doing it through a template tag, so the new form is created each time. The problem is, that I get the same ID's for all fields.</p>
  
  <p>I know about the prefix, but I do not want to change field names, because there is one handler for all forms, only to set unique IDs.</p>
  
  <p>So my question:</p>
  
  <ul>
  <li>Is there a way to make Django set unique IDs if I want to output a form several times, without changing the names of fields?</li>
  <li>If not, is there a way to make Django not to output IDs at all?</li>
  </ul>