Ticket #1997: comments.py.diff

File comments.py.diff, 993 bytes (added by phil@…, 18 years ago)
  • comments.py

     
    252252        else:
    253253            manipulator.do_html2python(new_data)
    254254            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))
    256256    else:
    257257        raise Http404, _("The comment form didn't provide either 'preview' or 'post'")
    258258
     
    316316        else:
    317317            manipulator.do_html2python(new_data)
    318318            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))
    320320    else:
    321321        raise Http404, _("The comment form didn't provide either 'preview' or 'post'")
Back to Top