I have the exact same question. I also tried using "object.get_content_object.get_absolute_url" but that didn't work either.
On Sep 22, 5:25 pm, macgregor <[EMAIL PROTECTED]> wrote: > I have the new Comments app installed and working and want to modify > django/contrib/comments/templates/comments/posted.html to include a > link to the content object that a comment gets added to. > > For example: If someone posts a comment on a blog entry, the comment > gets added and then the user is redirected to /comments/posted?c=X > where X is the comment id. How can I get a URL to the blog entry that > this comment belongs to? > > Thanks, Greg. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---