Browse files

Fixed bug in contrib comment_form template tag when hard-coded object…

… IDs are used

git-svn-id: http://code.djangoproject.com/svn/django/trunk@590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 887f633 commit e07fee6511ae64db6af5b40f769c7b58bac9311d @adrianholovaty adrianholovaty committed Sep 1, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 django/contrib/comments/templatetags/comments.py
View
2 django/contrib/comments/templatetags/comments.py
@@ -85,6 +85,8 @@ def render(self, context):
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),

0 comments on commit e07fee6

Please sign in to comment.