Tuesday, July 3, 2012

Re: 'CSRF verification failed." from django.contrib.comments. can you help solve it? django 1.3

On 30-6-2012 8:39, brycenesbitt wrote:

> <form action="{% comment_form_target %}" method="post">{% csrf_token %}
>
> I render my form with:
> {% render_comment_form for entry %}

You should verify if the generated html looks sane. If you need help
with that, put it up on dpaste.

> ---------------
> I should note it did work when I first added it to the application. It
> broke after I added pybbm. I've since removed pybbm (it is maintained and
> broken), but comments
> started getting csrf errors.

Any chance pybbm started messing with the session storage backend and
you haven't set it back correctly? Do any sessions work at all?

--
Melvyn Sopacua


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment