Merge "Empty comment box after posting one"

This commit is contained in:
Jenkins 2013-08-30 11:27:12 +00:00 committed by Gerrit Code Review
commit ae269834b5
1 changed files with 1 additions and 2 deletions

View File

@ -86,8 +86,7 @@ def details(request, proposalid):
comment.proposal = proposal
comment.author = request.user
comment.save()
else:
form = CommentForm()
form = CommentForm()
comments = Comment.objects.filter(proposal=proposal)
return TemplateResponse(request, "cfpdetails.html",
{'proposal': proposal,