Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e07fee6511ae64db6af5b40f769c7b58bac9311d 1 parent 887f633
@adrianholovaty adrianholovaty authored
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),
Please sign in to comment.
Something went wrong with that request. Please try again.