how to use form.field in template code example Example: django loop through form errors {% for key, value in form.errors.items %}