You must set either Target or View name.

{% csrf_token %}
{{ form.as_table }}