Re: django comments problem

2010-08-06 Thread ignacio.arriaga
Hello, I have solved this issue. I to put the RequestContext in the render_to_response call. Thank you all. Greetings On 6 ago, 10:34, "ignacio.arriaga" wrote: > I have been checking the template that generates the form, and the > csrf_token is included on it, but when the page is renderized t

Re: django comments problem

2010-08-06 Thread ignacio.arriaga
I have been checking the template that generates the form, and the csrf_token is included on it, but when the page is renderized to html the token does not appear. Also I have tried to do this: {% load comments %} {% get_comment_form for project as cform %} {% csrf_token %} {{ cform.as_p }}

Re: django comments problem

2010-08-06 Thread Reinout van Rees
On 08/06/2010 01:15 AM, ignacio.arriaga wrote: Hello, I have a problem with django.contrib comments application. I have installed the applicacion and made the synchronization with the database. I create a comment form in this way: {% render_comment_form for project %} When I push either previ

django comments problem

2010-08-05 Thread ignacio.arriaga
Hello, I have a problem with django.contrib comments application. I have installed the applicacion and made the synchronization with the database. I create a comment form in this way: {% render_comment_form for project %} When I push either preview or submit I get a 403 error related with csrf