diff options
author | Dan McGee <dpmcgee@gmail.com> | 2010-08-27 21:38:06 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2010-08-27 21:38:06 -0500 |
commit | 0d51b0b2bd66df6d267a314da5362f3dcc2b6ae7 (patch) | |
tree | ff691ce2bc38df7dd75bad9107919ddcc6f64492 | |
parent | b750d97493d25e14aad563ab8e9e9f9b9c606539 (diff) | |
download | website-0d51b0b2bd66df6d267a314da5362f3dcc2b6ae7.tar.gz website-0d51b0b2bd66df6d267a314da5362f3dcc2b6ae7.zip |
Allow filtering on comments enabled
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r-- | blog/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/admin.py b/blog/admin.py index 2987532..4a99cfc 100644 --- a/blog/admin.py +++ b/blog/admin.py @@ -24,7 +24,7 @@ class PostAdmin(admin.ModelAdmin): search_fields = ('title', 'content') list_display = ('title', 'pub_date', 'mod_date', 'public', 'comments_enabled') - list_filter = ('pub_date', 'public') + list_filter = ('pub_date', 'public', 'comments_enabled') def disable_comments(self, request, queryset): for obj in queryset: |