Ticket #1997: comments.py.diff
File comments.py.diff, 993 bytes (added by , 18 years ago) |
---|
-
comments.py
252 252 else: 253 253 manipulator.do_html2python(new_data) 254 254 comment = manipulator.save(new_data) 255 return HttpResponseRedirect(" /comments/posted/?c=%s:%s" % (content_type_id, object_id))255 return HttpResponseRedirect("../posted/?c=%s:%s" % (content_type_id, object_id)) 256 256 else: 257 257 raise Http404, _("The comment form didn't provide either 'preview' or 'post'") 258 258 … … 316 316 else: 317 317 manipulator.do_html2python(new_data) 318 318 comment = manipulator.save(new_data) 319 return HttpResponseRedirect(" /comments/posted/?c=%s:%s" % (content_type_id, object_id))319 return HttpResponseRedirect("../posted/?c=%s:%s" % (content_type_id, object_id)) 320 320 else: 321 321 raise Http404, _("The comment form didn't provide either 'preview' or 'post'")