{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-submissions/pulls/comments/39642083","id":39642083,"diff_hunk":"@@ -99,7 +99,12 @@ class Submission(models.Model):\n     created_at = models.DateTimeField(editable=False, default=now, db_index=True)\n \n     # The answer (JSON-serialized)\n-    raw_answer = models.TextField(blank=True)\n+    # NOTE: previously, this field was a TextField named `raw_answer`.","path":"submissions/models.py","position":41,"original_position":41,"commit_id":"caded9326f46f78fc2982e837ddd06d34e9dcec2","original_commit_id":"caded9326f46f78fc2982e837ddd06d34e9dcec2","user":{"login":"andy-armstrong","id":5985072,"avatar_url":"https://avatars.githubusercontent.com/u/5985072?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-armstrong","html_url":"https://github.com/andy-armstrong","followers_url":"https://api.github.com/users/andy-armstrong/followers","following_url":"https://api.github.com/users/andy-armstrong/following{/other_user}","gists_url":"https://api.github.com/users/andy-armstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-armstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-armstrong/subscriptions","organizations_url":"https://api.github.com/users/andy-armstrong/orgs","repos_url":"https://api.github.com/users/andy-armstrong/repos","events_url":"https://api.github.com/users/andy-armstrong/events{/privacy}","received_events_url":"https://api.github.com/users/andy-armstrong/received_events","type":"User","site_admin":false},"body":"Just to be certain, you are saying that raw_answer was a text field that stored JSON values, and thus there are no migration concerns to switching it to a JSONField.","created_at":"2015-09-16T15:10:33Z","updated_at":"2015-09-16T15:10:33Z","html_url":"https://github.com/edx/edx-submissions/pull/20#discussion_r39642083","pull_request_url":"https://api.github.com/repos/edx/edx-submissions/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/comments/39642083"},"html":{"href":"https://github.com/edx/edx-submissions/pull/20#discussion_r39642083"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-submissions/pulls/20","id":43538396,"html_url":"https://github.com/edx/edx-submissions/pull/20","diff_url":"https://github.com/edx/edx-submissions/pull/20.diff","patch_url":"https://github.com/edx/edx-submissions/pull/20.patch","issue_url":"https://api.github.com/repos/edx/edx-submissions/issues/20","number":20,"state":"open","locked":false,"title":"Upgrade djangorestframework to v3.1","user":{"login":"wedaly","id":2948394,"avatar_url":"https://avatars.githubusercontent.com/u/2948394?v=3","gravatar_id":"","url":"https://api.github.com/users/wedaly","html_url":"https://github.com/wedaly","followers_url":"https://api.github.com/users/wedaly/followers","following_url":"https://api.github.com/users/wedaly/following{/other_user}","gists_url":"https://api.github.com/users/wedaly/gists{/gist_id}","starred_url":"https://api.github.com/users/wedaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wedaly/subscriptions","organizations_url":"https://api.github.com/users/wedaly/orgs","repos_url":"https://api.github.com/users/wedaly/repos","events_url":"https://api.github.com/users/wedaly/events{/privacy}","received_events_url":"https://api.github.com/users/wedaly/received_events","type":"User","site_admin":false},"body":"* Upgrade DRF to v.3.1\r\n* Use JSONField on the model instead of custom serializer field for the submission answer.\r\n\r\nI'm going to hold off on merging this until ORA2 and edx-platform are also upgraded.  Otherwise, it isn't going to be possible to test this end-to-end.","created_at":"2015-08-27T16:31:55Z","updated_at":"2015-09-16T15:10:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35982bcc1ffc4e6fa61cbf7a46d11f0ded800d49","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-submissions/pulls/20/commits","review_comments_url":"https://api.github.com/repos/edx/edx-submissions/pulls/20/comments","review_comment_url":"https://api.github.com/repos/edx/edx-submissions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-submissions/issues/20/comments","statuses_url":"https://api.github.com/repos/edx/edx-submissions/statuses/caded9326f46f78fc2982e837ddd06d34e9dcec2","head":{"label":"edx:will/upgrade-django-rest-framework","ref":"will/upgrade-django-rest-framework","sha":"caded9326f46f78fc2982e837ddd06d34e9dcec2","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":20536064,"name":"edx-submissions","full_name":"edx/edx-submissions","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-submissions","description":"API for creating submissions and scores","fork":false,"url":"https://api.github.com/repos/edx/edx-submissions","forks_url":"https://api.github.com/repos/edx/edx-submissions/forks","keys_url":"https://api.github.com/repos/edx/edx-submissions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-submissions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-submissions/teams","hooks_url":"https://api.github.com/repos/edx/edx-submissions/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-submissions/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-submissions/events","assignees_url":"https://api.github.com/repos/edx/edx-submissions/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-submissions/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-submissions/tags","blobs_url":"https://api.github.com/repos/edx/edx-submissions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-submissions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-submissions/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-submissions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-submissions/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-submissions/languages","stargazers_url":"https://api.github.com/repos/edx/edx-submissions/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-submissions/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-submissions/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-submissions/subscription","commits_url":"https://api.github.com/repos/edx/edx-submissions/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-submissions/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-submissions/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-submissions/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-submissions/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-submissions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-submissions/merges","archive_url":"https://api.github.com/repos/edx/edx-submissions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-submissions/downloads","issues_url":"https://api.github.com/repos/edx/edx-submissions/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-submissions/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-submissions/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-submissions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-submissions/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-submissions/releases{/id}","created_at":"2014-06-05T18:19:35Z","updated_at":"2015-09-01T01:38:00Z","pushed_at":"2015-09-12T21:06:39Z","git_url":"git://github.com/edx/edx-submissions.git","ssh_url":"git@github.com:edx/edx-submissions.git","clone_url":"https://github.com/edx/edx-submissions.git","svn_url":"https://github.com/edx/edx-submissions","homepage":null,"size":590,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"7fce3f8e26c2f0c4a8ac56a5f53a1abf46eb49e6","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":20536064,"name":"edx-submissions","full_name":"edx/edx-submissions","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-submissions","description":"API for creating submissions and scores","fork":false,"url":"https://api.github.com/repos/edx/edx-submissions","forks_url":"https://api.github.com/repos/edx/edx-submissions/forks","keys_url":"https://api.github.com/repos/edx/edx-submissions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-submissions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-submissions/teams","hooks_url":"https://api.github.com/repos/edx/edx-submissions/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-submissions/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-submissions/events","assignees_url":"https://api.github.com/repos/edx/edx-submissions/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-submissions/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-submissions/tags","blobs_url":"https://api.github.com/repos/edx/edx-submissions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-submissions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-submissions/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-submissions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-submissions/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-submissions/languages","stargazers_url":"https://api.github.com/repos/edx/edx-submissions/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-submissions/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-submissions/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-submissions/subscription","commits_url":"https://api.github.com/repos/edx/edx-submissions/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-submissions/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-submissions/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-submissions/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-submissions/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-submissions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-submissions/merges","archive_url":"https://api.github.com/repos/edx/edx-submissions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-submissions/downloads","issues_url":"https://api.github.com/repos/edx/edx-submissions/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-submissions/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-submissions/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-submissions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-submissions/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-submissions/releases{/id}","created_at":"2014-06-05T18:19:35Z","updated_at":"2015-09-01T01:38:00Z","pushed_at":"2015-09-12T21:06:39Z","git_url":"git://github.com/edx/edx-submissions.git","ssh_url":"git@github.com:edx/edx-submissions.git","clone_url":"https://github.com/edx/edx-submissions.git","svn_url":"https://github.com/edx/edx-submissions","homepage":null,"size":590,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/20"},"html":{"href":"https://github.com/edx/edx-submissions/pull/20"},"issue":{"href":"https://api.github.com/repos/edx/edx-submissions/issues/20"},"comments":{"href":"https://api.github.com/repos/edx/edx-submissions/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-submissions/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-submissions/statuses/caded9326f46f78fc2982e837ddd06d34e9dcec2"}}}}