diff --git a/django/contrib/comments/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py index 9b12adaf6d..9f8180ab08 100644 --- a/django/contrib/comments/templatetags/comments.py +++ b/django/contrib/comments/templatetags/comments.py @@ -3,7 +3,6 @@ from django.template.loader import render_to_string from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.contrib import comments -from django.db.models import FieldDoesNotExist from django.utils.encoding import smart_unicode register = template.Library() @@ -81,7 +80,6 @@ class BaseCommentNode(template.Node): content_type = ctype, object_pk = smart_unicode(object_pk), site__pk = settings.SITE_ID, - is_public = True, ) # The is_public and is_removed fields are implementation details of the