1
as_table
outputs <tr>
/<th>
/<td>
tags only. You should wrap it with <table>
tag:
<form action="/books/add/" method="post">
{% csrf_token %}
<table>
{{ add_view_form.as_table }}
</table>
<input type="submit" value="Submit" />
</form>
I tested it in the app from your bitbucket repository. It looks like this:
Source:stackexchange.com