Changeset 2981
- Timestamp:
- 05/25/06 23:06:46 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/comments/views/comments.py
r2809 r2981 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'") … … 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'")
