Hi there,

I've implemented django.contrib.comments and activated the custom
redirect option by including the following line in the comments form:

<input type="hidden" name="next"
value="{{ object.get_absolute_url }}" />

This works great for redirecting back to the original object from
which it was called. However, I can't work out how to achievie this
from the preview.html form view, the above method sends me to:

comments/post/c?c=x

where x is the comment number. How would I return the user to the
original page from which the comment was attempted to be entered?

I'm a total newbie so please give as much detail as you can.

Many thanks, much appreciated.

Brap!



--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to