diff --git a/comments/admin.py b/comments/admin.py index c330e4ff1759e35c2db2c423423aad24fe9a2efa..25c767aa4691c951af14d3c43bedf9ee032ec059 100644 --- a/comments/admin.py +++ b/comments/admin.py @@ -18,7 +18,7 @@ def comment_is_vetted(comment): class CommentAdmin(GuardedModelAdmin): list_display = (comment_opening, 'author', 'date_submitted', comment_is_vetted) date_hierarchy = 'date_submitted' - list_filter = ('status', 'content_type',) + list_filter = ('status',) comment_is_vetted.boolean = True diff --git a/comments/migrations/0017_auto_20170729_0717.py b/comments/migrations/0017_auto_20170729_0717.py index ebf8e864b0b88df1a2ee14a248971aed8fc0cf16..ba51467ff4d82aafa904090079e405ccc773e2e0 100644 --- a/comments/migrations/0017_auto_20170729_0717.py +++ b/comments/migrations/0017_auto_20170729_0717.py @@ -76,10 +76,6 @@ def migrate_comments_to_generic_relations(apps, schema_editor): """ forward() Comment = apps.get_model('comments', 'Comment') - # Report = apps.get_model('submissions', 'Report') - # Submission = apps.get_model('submissions', 'Submission') - # Commentary = apps.get_model('commentaries', 'Commentary') - # ThesisLink = apps.get_model('theses', 'ThesisLink') User = get_user_model() all_comments = Comment.objects.all()