I'd like to know how can use Django's automatic form generation...
<form action="/contact/" method="POST">
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>
To achieve the following output (note the custom field in the middle of the form and error class within the wrapping div).
<form action="/contact/" method="POST">
<div class="input error">
<label for="id_subject">E-mail subject:</label>
<span>Error Message</span>
</div>
<div class="input error">
<label for="id_message">Your message:</label>
<span>Error Message</span>
</div>
<!-- CUSTOM CONTAINER -->
<div class="custom-container">
<h2>Custom Content</h2>
</div>
<div class="input error">
<label for="id_sender">Your email address:</label>
<span>Error Message</span>
</div>
<div class="input error">
<label for="id_cc_myself">CC yourself?</label>
<span>Error Message</span>
</div>
<div><input type="submit" value="Send message" /></div>
</form>