Ticket #12600: 12600.diff

File 12600.diff, 768 bytes (added by Harro, 14 years ago)
  • django/contrib/comments/views/comments.py

     
    7878    # If there are errors or if we requested a preview show the comment
    7979    if form.errors or preview:
    8080        template_list = [
    81             "comments/%s_%s_preview.html" % tuple(str(model._meta).split(".")),
    82             "comments/%s_preview.html" % model._meta.app_label,
     81            "comments/%s/%s/preview.html" % tuple(str(model._meta).split(".")),
     82            "comments/%s/preview.html" % model._meta.app_label,
    8383            "comments/preview.html",
    8484        ]
    8585        return render_to_response(
Back to Top