Ticket #9303: 9303.diff

File 9303.diff, 909 bytes (added by Thejaswi Puthraya, 16 years ago)

git-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 9b12ada..9f8180a 100644
    a b from django.template.loader import render_to_string  
    33from django.conf import settings
    44from django.contrib.contenttypes.models import ContentType
    55from django.contrib import comments
    6 from django.db.models import FieldDoesNotExist
    76from django.utils.encoding import smart_unicode
    87
    98register = template.Library()
    class BaseCommentNode(template.Node):  
    8180            content_type = ctype,
    8281            object_pk    = smart_unicode(object_pk),
    8382            site__pk     = settings.SITE_ID,
    84             is_public    = True,
    8583        )
    8684       
    8785        # The is_public and is_removed fields are implementation details of the
Back to Top