Ticket #9303: 9303.diff
| File 9303.diff, 0.9 kB (added by thejaswi_puthraya, 1 year ago) |
|---|
-
a/django/contrib/comments/templatetags/comments.py
old new 3 3 from django.conf import settings 4 4 from django.contrib.contenttypes.models import ContentType 5 5 from django.contrib import comments 6 from django.db.models import FieldDoesNotExist7 6 from django.utils.encoding import smart_unicode 8 7 9 8 register = template.Library() … … 81 80 content_type = ctype, 82 81 object_pk = smart_unicode(object_pk), 83 82 site__pk = settings.SITE_ID, 84 is_public = True,85 83 ) 86 84 87 85 # The is_public and is_removed fields are implementation details of the
