]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/users.py
Adds the option to create static pages with several options to customize its behaviour.
[osqa.git] / forum / views / users.py
index 6bc3477d35c4461d6618e88527572a41c53ee083..da556be2654706cf0124786f99bd6b7663142f7e 100644 (file)
@@ -204,7 +204,7 @@ def user_stats(request, user):
 \r
 @user_view('users/recent.html', 'recent', _('recent user activity'), _('recent activity'))\r
 def user_recent(request, user):\r
-    activities = user.actions.exclude(action_type__in=("voteup", "votedown", "voteupcomment", "flag")).order_by('-action_date')[:USERS_PAGE_SIZE]\r
+    activities = user.actions.exclude(action_type__in=("voteup", "votedown", "voteupcomment", "flag", "newpage", "editpage")).order_by('-action_date')[:USERS_PAGE_SIZE]\r
 \r
     return {"view_user" : user, "activities" : activities}\r
 \r