title: Django - wrap each form element in a <div>
body: <p>The Django forms API has methods <code>Form.as_p()</code>, <code>Form.as_table()</code> and <code>Form.as_ul()</code>, which wrap form elements in <code>&lt;p&gt;</code>, <code>&lt;tr&gt;</code> and <code>&lt;li&gt;</code> tags respectively.</p>
  
  <p>Is there any way to wrap form elements in a <code>&lt;div&gt;</code>, like in the canonical <a href="http://getbootstrap.com/css/#forms-example" rel="nofollow noreferrer">Bootstrap forms example</a>?</p>