X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cbbbe9e150dfe0f6b9bb47cb5b3f3ed071aca73a..febc8df810701062ed45c129c0e30c504db28849:/forum/views/users.py diff --git a/forum/views/users.py b/forum/views/users.py index 6bc3477..da556be 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -204,7 +204,7 @@ def user_stats(request, user): @user_view('users/recent.html', 'recent', _('recent user activity'), _('recent activity')) def user_recent(request, user): - activities = user.actions.exclude(action_type__in=("voteup", "votedown", "voteupcomment", "flag")).order_by('-action_date')[:USERS_PAGE_SIZE] + activities = user.actions.exclude(action_type__in=("voteup", "votedown", "voteupcomment", "flag", "newpage", "editpage")).order_by('-action_date')[:USERS_PAGE_SIZE] return {"view_user" : user, "activities" : activities}