diff options
author | Dan McGee <dpmcgee@gmail.com> | 2010-10-01 16:42:20 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2010-10-01 16:42:20 -0500 |
commit | 217f7b206b51b9fc0a2243cc8c414c9eb82dcf8b (patch) | |
tree | 53ac4fe2f8ef7da92b440f509ad2a6e60e98c003 | |
parent | 0d51b0b2bd66df6d267a314da5362f3dcc2b6ae7 (diff) | |
download | website-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.py | 2 |
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 |