Skip to content

Commit

Permalink
Finish removing comment titles; DMOJ#852
Browse files Browse the repository at this point in the history
Forgot to remove the comment titles from revisions and the demo fixture.
  • Loading branch information
kiritofeng authored and Xyene committed Jan 4, 2019
1 parent fa8c704 commit c3c2620
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion judge/fixtures/demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
"rght": 2,
"score": 0,
"time": "2017-12-02T08:46:54.007Z",
"title": "",
"tree_id": 1
},
"model": "judge.comment",
Expand Down
2 changes: 1 addition & 1 deletion judge/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
revisions.register(Solution)
revisions.register(Judge, fields=['name', 'created', 'auth_key', 'description'])
revisions.register(Language)
revisions.register(Comment, fields=['author', 'time', 'page', 'score', 'title', 'body', 'hidden', 'parent'])
revisions.register(Comment, fields=['author', 'time', 'page', 'score', 'body', 'hidden', 'parent'])
del revisions

0 comments on commit c3c2620

Please sign in to comment.