summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2010-10-01 16:42:20 -0500
committerDan McGee <dpmcgee@gmail.com>2010-10-01 16:42:20 -0500
commit217f7b206b51b9fc0a2243cc8c414c9eb82dcf8b (patch)
tree53ac4fe2f8ef7da92b440f509ad2a6e60e98c003
parent0d51b0b2bd66df6d267a314da5362f3dcc2b6ae7 (diff)
downloadwebsite-217f7b206b51b9fc0a2243cc8c414c9eb82dcf8b.tar.gz
website-217f7b206b51b9fc0a2243cc8c414c9eb82dcf8b.zip
Log spam/ham markings in admin
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r--mycomments/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mycomments/admin.py b/mycomments/admin.py
index bad9ebd..821b942 100644
--- a/mycomments/admin.py
+++ b/mycomments/admin.py
@@ -73,6 +73,8 @@ class MyCommentsAdmin(CommentsAdmin):
if count:
for comment in queryset:
action(request, comment)
+ self.log_change(request, comment,
+ "Changed is_public, marked as %s." % type)
self.message_user(request,
"Successfully marked %(count)d comments as %(type)s." % {
"count": count, "type": type