Skip to content
Snippets Groups Projects
Commit 789df8df authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Add review.revision.

parent ec72fff0
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,7 @@ class MigrateCommand(BaseCommand):
review.author = self.get_user(node['uid'])
review.recommendation = self.get_recommendation(node)
review.submission = self.get_submission(node)
review.revision = review.submission.live_revision
if self.CONTENT_TYPE == "fund":
ROUND = Round.objects.get(title=self.ROUND_NAME)
......
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