On Thu, Nov 5, 2009 at 2:30 PM, David <cthl...@googlemail.com> wrote:
> Is it possible to redirect upon successful comment submission to the > previous page when using Djangos built in render_comment_form ? > I'm not sure if there's a more direct way, but you can override the "comment_done" named URLconf with a custom view that redirects to request.META.get('HTTP_REFERER', '/') hth, egj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---