Fix for adding comments to tasks
Change-Id: Ibcab5e9f6312abbaa87763425a5e04b7c503e999
This commit is contained in:
parent
2280bac923
commit
0e3933f96a
@ -53,7 +53,7 @@ def view(request, storyid):
|
||||
@require_POST
|
||||
def comment(request, storyid):
|
||||
story = Story.objects.get(id=storyid)
|
||||
if request.POST.get('comment', False):
|
||||
if request.POST.get('content', False):
|
||||
newcomment = Comment(story=story,
|
||||
author=request.user,
|
||||
comment_type="comment",
|
||||
|
Loading…
x
Reference in New Issue
Block a user