{"action":"created","comment":{"url":"https://api.github.com/repos/swcarpentry/amy/pulls/comments/72894902","id":72894902,"diff_hunk":"@@ -3154,10 +3147,132 @@ def duplicates(request):\n \n     return render(request, 'workshops/duplicates.html', context)\n \n+# ------------------------------------------------------------\n+# Views for trainees\n+\n+def _homework2state(homework):","path":"workshops/views.py","position":667,"original_position":667,"commit_id":"41975eccb2cda1335ceb0fbe66629b65934d2984","original_commit_id":"41975eccb2cda1335ceb0fbe66629b65934d2984","user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"body":"move to util.py? Or to models.py - depending on the function's purpose (missing docstring)","created_at":"2016-07-30T22:04:58Z","updated_at":"2016-07-30T22:04:58Z","html_url":"https://github.com/swcarpentry/amy/pull/871#discussion_r72894902","pull_request_url":"https://api.github.com/repos/swcarpentry/amy/pulls/871","_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/comments/72894902"},"html":{"href":"https://github.com/swcarpentry/amy/pull/871#discussion_r72894902"},"pull_request":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/871"}}},"pull_request":{"url":"https://api.github.com/repos/swcarpentry/amy/pulls/871","id":75997446,"html_url":"https://github.com/swcarpentry/amy/pull/871","diff_url":"https://github.com/swcarpentry/amy/pull/871.diff","patch_url":"https://github.com/swcarpentry/amy/pull/871.patch","issue_url":"https://api.github.com/repos/swcarpentry/amy/issues/871","number":871,"state":"open","locked":false,"title":"Instructor training workflow","user":{"login":"chrismedrela","id":1645996,"avatar_url":"https://avatars.githubusercontent.com/u/1645996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismedrela","html_url":"https://github.com/chrismedrela","followers_url":"https://api.github.com/users/chrismedrela/followers","following_url":"https://api.github.com/users/chrismedrela/following{/other_user}","gists_url":"https://api.github.com/users/chrismedrela/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismedrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismedrela/subscriptions","organizations_url":"https://api.github.com/users/chrismedrela/orgs","repos_url":"https://api.github.com/users/chrismedrela/repos","events_url":"https://api.github.com/users/chrismedrela/events{/privacy}","received_events_url":"https://api.github.com/users/chrismedrela/received_events","type":"User","site_admin":false},"body":"@pbanaszkiewicz , here is the schema proposal, it turns out we need only two models. Please review. And don't merge. :)","created_at":"2016-07-01T15:29:48Z","updated_at":"2016-07-30T22:04:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"661c1d4f20f95ecaf6b6f6993048a5d46d8d412a","assignee":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"assignees":[{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/swcarpentry/amy/milestones/28","html_url":"https://github.com/swcarpentry/amy/milestones/v1.7","labels_url":"https://api.github.com/repos/swcarpentry/amy/milestones/28/labels","id":1794303,"number":28,"title":"v1.7","description":"","creator":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":23,"state":"open","created_at":"2016-05-29T08:39:30Z","updated_at":"2016-07-30T19:43:56Z","due_on":"2016-07-28T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/swcarpentry/amy/pulls/871/commits","review_comments_url":"https://api.github.com/repos/swcarpentry/amy/pulls/871/comments","review_comment_url":"https://api.github.com/repos/swcarpentry/amy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swcarpentry/amy/issues/871/comments","statuses_url":"https://api.github.com/repos/swcarpentry/amy/statuses/41975eccb2cda1335ceb0fbe66629b65934d2984","head":{"label":"chrismedrela:instructor-training","ref":"instructor-training","sha":"41975eccb2cda1335ceb0fbe66629b65934d2984","user":{"login":"chrismedrela","id":1645996,"avatar_url":"https://avatars.githubusercontent.com/u/1645996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismedrela","html_url":"https://github.com/chrismedrela","followers_url":"https://api.github.com/users/chrismedrela/followers","following_url":"https://api.github.com/users/chrismedrela/following{/other_user}","gists_url":"https://api.github.com/users/chrismedrela/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismedrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismedrela/subscriptions","organizations_url":"https://api.github.com/users/chrismedrela/orgs","repos_url":"https://api.github.com/users/chrismedrela/repos","events_url":"https://api.github.com/users/chrismedrela/events{/privacy}","received_events_url":"https://api.github.com/users/chrismedrela/received_events","type":"User","site_admin":false},"repo":{"id":53133626,"name":"amy","full_name":"chrismedrela/amy","owner":{"login":"chrismedrela","id":1645996,"avatar_url":"https://avatars.githubusercontent.com/u/1645996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismedrela","html_url":"https://github.com/chrismedrela","followers_url":"https://api.github.com/users/chrismedrela/followers","following_url":"https://api.github.com/users/chrismedrela/following{/other_user}","gists_url":"https://api.github.com/users/chrismedrela/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismedrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismedrela/subscriptions","organizations_url":"https://api.github.com/users/chrismedrela/orgs","repos_url":"https://api.github.com/users/chrismedrela/repos","events_url":"https://api.github.com/users/chrismedrela/events{/privacy}","received_events_url":"https://api.github.com/users/chrismedrela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrismedrela/amy","description":"A web-based workshop administration application built using Django.","fork":true,"url":"https://api.github.com/repos/chrismedrela/amy","forks_url":"https://api.github.com/repos/chrismedrela/amy/forks","keys_url":"https://api.github.com/repos/chrismedrela/amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrismedrela/amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrismedrela/amy/teams","hooks_url":"https://api.github.com/repos/chrismedrela/amy/hooks","issue_events_url":"https://api.github.com/repos/chrismedrela/amy/issues/events{/number}","events_url":"https://api.github.com/repos/chrismedrela/amy/events","assignees_url":"https://api.github.com/repos/chrismedrela/amy/assignees{/user}","branches_url":"https://api.github.com/repos/chrismedrela/amy/branches{/branch}","tags_url":"https://api.github.com/repos/chrismedrela/amy/tags","blobs_url":"https://api.github.com/repos/chrismedrela/amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrismedrela/amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrismedrela/amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrismedrela/amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrismedrela/amy/statuses/{sha}","languages_url":"https://api.github.com/repos/chrismedrela/amy/languages","stargazers_url":"https://api.github.com/repos/chrismedrela/amy/stargazers","contributors_url":"https://api.github.com/repos/chrismedrela/amy/contributors","subscribers_url":"https://api.github.com/repos/chrismedrela/amy/subscribers","subscription_url":"https://api.github.com/repos/chrismedrela/amy/subscription","commits_url":"https://api.github.com/repos/chrismedrela/amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrismedrela/amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrismedrela/amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrismedrela/amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrismedrela/amy/contents/{+path}","compare_url":"https://api.github.com/repos/chrismedrela/amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrismedrela/amy/merges","archive_url":"https://api.github.com/repos/chrismedrela/amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrismedrela/amy/downloads","issues_url":"https://api.github.com/repos/chrismedrela/amy/issues{/number}","pulls_url":"https://api.github.com/repos/chrismedrela/amy/pulls{/number}","milestones_url":"https://api.github.com/repos/chrismedrela/amy/milestones{/number}","notifications_url":"https://api.github.com/repos/chrismedrela/amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrismedrela/amy/labels{/name}","releases_url":"https://api.github.com/repos/chrismedrela/amy/releases{/id}","deployments_url":"https://api.github.com/repos/chrismedrela/amy/deployments","created_at":"2016-03-04T12:22:16Z","updated_at":"2016-03-04T12:22:17Z","pushed_at":"2016-07-29T17:35:01Z","git_url":"git://github.com/chrismedrela/amy.git","ssh_url":"git@github.com:chrismedrela/amy.git","clone_url":"https://github.com/chrismedrela/amy.git","svn_url":"https://github.com/chrismedrela/amy","homepage":null,"size":11686,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"swcarpentry:develop","ref":"develop","sha":"5502a369392ae74bf817a4d46f2355ab7cf1628e","user":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"repo":{"id":27387287,"name":"amy","full_name":"swcarpentry/amy","owner":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swcarpentry/amy","description":"A web-based workshop administration application built using Django.","fork":false,"url":"https://api.github.com/repos/swcarpentry/amy","forks_url":"https://api.github.com/repos/swcarpentry/amy/forks","keys_url":"https://api.github.com/repos/swcarpentry/amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swcarpentry/amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swcarpentry/amy/teams","hooks_url":"https://api.github.com/repos/swcarpentry/amy/hooks","issue_events_url":"https://api.github.com/repos/swcarpentry/amy/issues/events{/number}","events_url":"https://api.github.com/repos/swcarpentry/amy/events","assignees_url":"https://api.github.com/repos/swcarpentry/amy/assignees{/user}","branches_url":"https://api.github.com/repos/swcarpentry/amy/branches{/branch}","tags_url":"https://api.github.com/repos/swcarpentry/amy/tags","blobs_url":"https://api.github.com/repos/swcarpentry/amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swcarpentry/amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swcarpentry/amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/swcarpentry/amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swcarpentry/amy/statuses/{sha}","languages_url":"https://api.github.com/repos/swcarpentry/amy/languages","stargazers_url":"https://api.github.com/repos/swcarpentry/amy/stargazers","contributors_url":"https://api.github.com/repos/swcarpentry/amy/contributors","subscribers_url":"https://api.github.com/repos/swcarpentry/amy/subscribers","subscription_url":"https://api.github.com/repos/swcarpentry/amy/subscription","commits_url":"https://api.github.com/repos/swcarpentry/amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/swcarpentry/amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/swcarpentry/amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/swcarpentry/amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/swcarpentry/amy/contents/{+path}","compare_url":"https://api.github.com/repos/swcarpentry/amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swcarpentry/amy/merges","archive_url":"https://api.github.com/repos/swcarpentry/amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swcarpentry/amy/downloads","issues_url":"https://api.github.com/repos/swcarpentry/amy/issues{/number}","pulls_url":"https://api.github.com/repos/swcarpentry/amy/pulls{/number}","milestones_url":"https://api.github.com/repos/swcarpentry/amy/milestones{/number}","notifications_url":"https://api.github.com/repos/swcarpentry/amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swcarpentry/amy/labels{/name}","releases_url":"https://api.github.com/repos/swcarpentry/amy/releases{/id}","deployments_url":"https://api.github.com/repos/swcarpentry/amy/deployments","created_at":"2014-12-01T16:07:14Z","updated_at":"2016-07-22T17:05:26Z","pushed_at":"2016-07-30T19:14:40Z","git_url":"git://github.com/swcarpentry/amy.git","ssh_url":"git@github.com:swcarpentry/amy.git","clone_url":"https://github.com/swcarpentry/amy.git","svn_url":"https://github.com/swcarpentry/amy","homepage":null,"size":13546,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":72,"forks":40,"open_issues":72,"watchers":34,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/871"},"html":{"href":"https://github.com/swcarpentry/amy/pull/871"},"issue":{"href":"https://api.github.com/repos/swcarpentry/amy/issues/871"},"comments":{"href":"https://api.github.com/repos/swcarpentry/amy/issues/871/comments"},"review_comments":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/871/comments"},"review_comment":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swcarpentry/amy/pulls/871/commits"},"statuses":{"href":"https://api.github.com/repos/swcarpentry/amy/statuses/41975eccb2cda1335ceb0fbe66629b65934d2984"}}}}
{"actor":{"display_login":"pbanaszkiewicz"}}