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

2012-07-16 Thread brycenesbitt
It works now that I have fully uninstalled pybbm. Pybbm was incompatible with my app because it also extended the User object (something apparently you can only do once?) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

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

2012-07-03 Thread Melvyn Sopacua
On 30-6-2012 8:39, brycenesbitt wrote: > {% 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

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

2012-06-30 Thread brycenesbitt
On Thursday, June 28, 2012 10:43:58 AM UTC-7, jonas wrote: > > After the starting form tag add {% csrf_token %} > I can't. It is rendered for me by {% render_comment_form for entry %} -- You received this message because you are subscribed to the Google Groups "Django users" group. To view

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

2012-06-30 Thread brycenesbitt
The "security_hash" field that you see is part of the comments app, and is > not the CSRF token. That needs to be output by a {% csrf_token %} tag (or > its equivalent). If it's working, you should see another hidden input > field, which looks like this: > > >

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

2012-06-28 Thread Ian Clelland
On Thu, Jun 28, 2012 at 9:14 AM, brycenesbitt wrote: > I'm using django.contrib.comments and get 'CSRF token missing or > incorrect.' when previewing or submitting a comment. I have: ... The HTML looks like it has the csrf security_hash in the proper place: > >

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

2012-06-28 Thread Jonas Geiregat
On do, jun 28, 2012 at 09:14:36 -0700, brycenesbitt wrote: > http://127.0.0.1:8000/comments/post/>" method="post"> >/> >id="id_timestamp" /> >value="6e85e1c846861c80575ce435b21a855706725b00" id="id_security_hash" > /> After the starting form tag add {% csrf_token %} More

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

2012-06-28 Thread brycenesbitt
I'm using django.contrib.comments and get 'CSRF token missing or incorrect.' when previewing or submitting a comment. I have: *MIDDLEWARE_CLASSES = (* *'django.middleware.csrf.CsrfViewMiddleware',* *'django.middleware.common.CommonMiddleware',* *