Ticket #16221: 16221.diff

File 16221.diff, 584 bytes (added by thejaswi_puthraya, 4 years ago)

patch against the latest checkout

  • django/contrib/comments/templatetags/comments.py

    diff --git a/django/contrib/comments/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py
    index 7962a40..024c4f6 100644
    a b def get_comment_permalink(comment, anchor_pattern=None): 
    323323    named anchor to be appended to the end of the URL.
    324324
    325325    Example::
    326         {{ get_comment_permalink comment "#c%(id)s-by-%(user_name)s" }}
     326        {% get_comment_permalink comment "#c%(id)s-by-%(user_name)s" %}
    327327    """
    328328
    329329    if anchor_pattern:
Back to Top