id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 11110,Comments redirect after posting is not honoured if comment contains errors or is previewed,Jeff Winters,nobody,"Hello, In using the comments framework, I have experienced some odd behaviour with regard to the ""next"" redirection. Provided that one specifies a value for ""next"" as part of the context for the template that contains the comment form, users posting valid comments without previewing them will indeed be redirected as expected. However, if the commenter previews his comment before posting, or if his comment contains errors, the ""next"" value is not honoured -- the user is redirected to the default ""Thank you for your comment"" page. For what it's worth, my use of the comments framework is extremely simple -- within my template, I use {% render_comment_form for post %}. ""next"" is passed as part of the template context from within the view. Attached is a simple patch that resolves the issue for my use of the comments framework. I fear that my issue may not be a bug at all and that I'm missing something obvious, but I took the precaution of asking about it on django-users (http://groups.google.com/group/django-users/browse_thread/thread/2f6768b95cb9a10e), and I received no responses within 24 hours. Thanks, Jeff",,closed,contrib.comments,dev,,fixed,,,Accepted,1,0,0,0,0,0