Ticket #12151: 12151.diff

File 12151.diff, 604 bytes (added by Thejaswi Puthraya, 15 years ago)

git patch against the latest checkout

  • django/contrib/comments/views/utils.py

    diff --git a/django/contrib/comments/views/utils.py b/django/contrib/comments/views/utils.py
    index c5c900d..4c1af04 100644
    a b def confirmation_view(template, doc="Display a confirmation view."):  
    3939        if 'c' in request.GET:
    4040            try:
    4141                comment = comments.get_model().objects.get(pk=request.GET['c'])
    42             except ObjectDoesNotExist:
     42            except Exception:
    4343                pass
    4444        return render_to_response(template,
    4545            {'comment': comment},
Back to Top