Django

Code

Ticket #9303: 9303.diff

File 9303.diff, 0.9 kB (added by thejaswi_puthraya, 1 year ago)

git-patch against the latest checkout

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

    old new  
    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() 
     
    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