Add __repr__ to Activity and Generator class

This commit is contained in:
Jessica Tallon
2014-10-07 08:54:26 +01:00
parent 240e987016
commit 2b1916182d
4 changed files with 21 additions and 4 deletions

View File

@@ -200,7 +200,7 @@ def media_post_comment(request, media):
_('Your comment has been posted!'))
trigger_notification(comment, media, request)
create_activity("post", comment, comment.author)
create_activity("post", comment, comment.author, target=media)
add_comment_subscription(request.user, media)
return redirect_obj(request, media)