Re: django.contrib.comments and returning to the original object

2008-10-25 Thread Dmitry Dzhus
Brandon Taylor wrote: > Hi everyone, > > I'm using 1.0 and have added contrib.comments to my project which has > a blog. I can preview a comment just fine, but I would like to provide > a way for the user to get back to the original blog entry once they've > posted their comment. Hi Brandon, I ca

Re: django.contrib.comments and returning to the original object

2008-10-23 Thread Brandon Taylor
Found the solution. I can pass in: request.GET, which contains a QueryDict object containing the 'c' variable for the comment. Hope this helps someone! Brandon On Oct 23, 8:50 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm using 1.0 and have added contrib.comments to my pr

django.contrib.comments and returning to the original object

2008-10-23 Thread Brandon Taylor
Hi everyone, I'm using 1.0 and have added contrib.comments to my project which has a blog. I can preview a comment just fine, but I would like to provide a way for the user to get back to the original blog entry once they've posted their comment. Out of the box, comments get redirected after bei