Ticket #8968: add-redirections-via-next-get.2.diff
File add-redirections-via-next-get.2.diff, 999 bytes (added by , 16 years ago) |
---|
-
/home/sphinx/Django-1.0/django/contrib/comments/views/moderation.
old new 38 38 39 39 # Render a form on GET 40 40 else: 41 next = request.GET.get('next', next) 41 42 return render_to_response('comments/flag.html', 42 43 {'comment': comment, "next": next}, 43 44 template.RequestContext(request) … … 78 79 79 80 # Render a form on GET 80 81 else: 82 next = request.GET.get('next', next) 81 83 return render_to_response('comments/delete.html', 82 84 {'comment': comment, "next": next}, 83 85 template.RequestContext(request) … … 121 123 122 124 # Render a form on GET 123 125 else: 126 next = request.GET.get('next', next) 124 127 return render_to_response('comments/approve.html', 125 128 {'comment': comment, "next": next}, 126 129 template.RequestContext(request)