diff options
author | Jessica Tallon <jessica@megworld.co.uk> | 2014-10-07 08:54:26 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-10-07 10:00:37 +0100 |
commit | 2b1916182d36043c2dbce7c2718e8e1d1a976429 (patch) | |
tree | 1cb459b8ef066b10cee61d174229271280f51f1c /mediagoblin/user_pages/views.py | |
parent | 240e9870162706228e1e1822de14d11cc4fd19ce (diff) | |
download | mediagoblin-2b1916182d36043c2dbce7c2718e8e1d1a976429.tar.lz mediagoblin-2b1916182d36043c2dbce7c2718e8e1d1a976429.tar.xz mediagoblin-2b1916182d36043c2dbce7c2718e8e1d1a976429.zip |
Add __repr__ to Activity and Generator class
Diffstat (limited to 'mediagoblin/user_pages/views.py')
-rw-r--r-- | mediagoblin/user_pages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index 0d0f3e7b..d0ebdd70 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -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) |