Ticket #10585: patch01.diff
File patch01.diff, 659 bytes (added by , 16 years ago) |
---|
-
django/contrib/comments/views/utils.py
25 25 if next is None: 26 26 next = urlresolvers.reverse(default_view) 27 27 if get_kwargs: 28 next += "?" + urllib.urlencode(get_kwargs) 28 if "?" in next: 29 next += "&" + urllib.urlencode(get_kwargs) 30 else: 31 next += "?" + urllib.urlencode(get_kwargs) 29 32 return HttpResponseRedirect(next) 30 33 31 34 def confirmation_view(template, doc="Display a confirmation view."):