SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 666395ed authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Test migrations complete

parent 40563532
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment