Ticket #10677: 10677_2.diff
File 10677_2.diff, 613 bytes (added by , 16 years ago) |
---|
-
django/contrib/comments/views/comments.py
diff --git a/django/contrib/comments/views/comments.py b/django/contrib/comments/views/comments.py index ae3a672..011bcce 100644
a b def post_comment(request, next=None): 111 111 request = request 112 112 ) 113 113 114 if not comment._get_pk_val(): 115 # If comment was deleted by any of the 116 # signal handlers. 117 return next_redirect(data, next, comment_done) 114 118 return next_redirect(data, next, comment_done, c=comment._get_pk_val()) 115 119 116 120 post_comment = require_POST(post_comment)