Re: using recaptcha with django's contrib comments module

2007-06-25 Thread Eric St-Jean
Hi, Aidas Bendoraitis a écrit : > You can do that by writing a wrapper for the > django.contrib.comments.views.comments.post_free_comment view. It > should take the request as an argument, check the validity of the > captcha, add the additional parameter to the request, call > the post_free_commen

Re: using recaptcha with django's contrib comments module

2007-06-25 Thread Aidas Bendoraitis
You can do that by writing a wrapper for the django.contrib.comments.views.comments.post_free_comment view. It should take the request as an argument, check the validity of the captcha, add the additional parameter to the request, call the post_free_comment passing the request to it, and return it

using recaptcha with django's contrib comments module

2007-06-22 Thread Eric St-Jean
Hi, Short form of my question: i have a custom view which does some work and then calls django.contrib.comments.views.comments.post_free_comment; i've customized the templates/comments/free_preview.html, and i would like my custom view to somehow pass an additional variable to that template,