HI, everyone.
Some questions about the render_comment_form tag and the
get_comment_form tag make me confused.
Here is my code:
#blog_detail.html

{% extends "base.html" %}
{% block content %}
    <h2>{{ post.title }}</h2>
    <p>{{ post.timestamp }}</p>
    <p>{{ post.body }}</p>
    {% load comments %}
    {% render_comment_form for post  %}
{% endblock %}

When I submit the form, "CSRF verification failed. Request aborted."
appears.
I have installed the comments app as the document said.
I don't write a view, because I think there is a default view to do
this.
Thank you for helping me.

yours

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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.

Reply via email to