{% load comments i18n %} 2 <form action="{% comment_form_target %}" method="post">{% csrf_token %} 3 {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %} 4 {% for field in form %} 5 {% if field.is_hidden %} 6 <div>{{ field }}</div> 7 {% else %} 8 {% if field.errors %}{{ field.errors }}{% endif %} 9 <p 10 {% if field.errors %} class="error"{% endif %} 11 {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> 12 {{ field.label_tag }} {{ field }}
Whenever i use comment_form_target i am getting this error,i am using django version 1.3 -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ouh3cB9chVQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.