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,

Re: MR: [patch] for the comments module to work properly

2006-04-27 Thread nkeric
Malcolm Tredinnick wrote: > I cannot comment much on the patch, not being familiar with the comments > component (although the commented out debugging stuff should probably be > removed), but it would be best to open a ticket for this patch, so that > it doesn't get lost (http://code.djangoproject

Re: MR: [patch] for the comments module to work properly

2006-04-27 Thread Malcolm Tredinnick
Hey Eric, On Thu, 2006-04-27 at 12:49 +, nkeric wrote: > guys, > > today while I'm using the comments module to implement something, I > guess I found two bugs: > > 1. in the models.py, the get_list_with_karma method should be updated > to use the extra() me

MR: [patch] for the comments module to work properly

2006-04-27 Thread nkeric
guys, today while I'm using the comments module to implement something, I guess I found two bugs: 1. in the models.py, the get_list_with_karma method should be updated to use the extra() method to inject the "select" kwargs, otherwise, the templatetag get_comment_list won

Re: Comments module

2006-03-13 Thread kahfei
I have the same problem here. Manage to follow the tutorial till part 3. And any comments made to a particular post actually shown in all posts. Still try to solve this problem. Guess Bryan advice might be helpful, should look into details how django blog example in code.djangoproject.com. --~--

Re: Comments module

2006-03-11 Thread Bryan Murdock
On 3/11/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Does anyone use successfully Comments module(django.contrib.comments). > I followed tutorial about blog at > http://www.rossp.org/blog/2006/jan/23/building-blog-django-1/ > but the blog that uses comments module does not

Comments module

2006-03-11 Thread PythonistL
Does anyone use successfully Comments module(django.contrib.comments). I followed tutorial about blog at http://www.rossp.org/blog/2006/jan/23/building-blog-django-1/ but the blog that uses comments module does not work properly for me. If I post a comment that comment is shown in all tags. Can