diff --git a/django/contrib/comments/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py index 0e290f102b3..b6f57a652b3 100644 --- a/django/contrib/comments/templatetags/comments.py +++ b/django/contrib/comments/templatetags/comments.py @@ -85,6 +85,8 @@ class CommentFormNode(template.Node): context['display_form'] = False else: context['display_form'] = True + else: + context['display_form'] = True context['target'] = '%s:%s' % (self.content_type.id, self.obj_id) options = [] for var, abbr in (('photos_required', comments.PHOTOS_REQUIRED),