{"action":"created","comment":{"url":"https://api.github.com/repos/gvwilson/amy/pulls/comments/25556323","id":25556323,"diff_hunk":"@@ -300,11 +300,12 @@ def person_bulk_add_confirmation(request):\n         data_update = zip(personals, middles, families, emails, events, roles)\n         for k, record in enumerate(data_update):\n             personal, middle, family, email, event, role = record\n+            # \"field or None\" converts empty strings to None values\n             persons_tasks[k] = {\n-                'personal': personal,\n-                'middle': middle,\n-                'family': family,\n-                'email': email\n+                'personal': personal or None,","path":"workshops/views.py","position":10,"original_position":10,"commit_id":"4d121a80abfec990254d0b3101b0f861e2e7f62f","original_commit_id":"4d121a80abfec990254d0b3101b0f861e2e7f62f","user":{"login":"gvwilson","id":911566,"avatar_url":"https://avatars.githubusercontent.com/u/911566?v=3","gravatar_id":"","url":"https://api.github.com/users/gvwilson","html_url":"https://github.com/gvwilson","followers_url":"https://api.github.com/users/gvwilson/followers","following_url":"https://api.github.com/users/gvwilson/following{/other_user}","gists_url":"https://api.github.com/users/gvwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/gvwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvwilson/subscriptions","organizations_url":"https://api.github.com/users/gvwilson/orgs","repos_url":"https://api.github.com/users/gvwilson/repos","events_url":"https://api.github.com/users/gvwilson/events{/privacy}","received_events_url":"https://api.github.com/users/gvwilson/received_events","type":"User","site_admin":false},"body":"This is the only thing I'd change - a person has to have *some* name, and I've used `personal` when they only have one.  I'll fix after merging.","created_at":"2015-02-28T10:50:15Z","updated_at":"2015-02-28T10:50:15Z","html_url":"https://github.com/gvwilson/amy/pull/2#discussion_r25556323","pull_request_url":"https://api.github.com/repos/gvwilson/amy/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/comments/25556323"},"html":{"href":"https://github.com/gvwilson/amy/pull/2#discussion_r25556323"},"pull_request":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/gvwilson/amy/pulls/2","id":30118276,"html_url":"https://github.com/gvwilson/amy/pull/2","diff_url":"https://github.com/gvwilson/amy/pull/2.diff","patch_url":"https://github.com/gvwilson/amy/pull/2.patch","issue_url":"https://api.github.com/repos/gvwilson/amy/issues/2","number":2,"state":"open","locked":false,"title":"Mostly fixes for bulk-upload tests","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":"Hi,\r\n\r\nanother set of fixes.\r\n\r\n* visual fixes (like `dne` → `doesnt_exist`)\r\n* 2 new tests\r\n\r\nThe last test, `test_upload_existing_user_existing_task`, currently fails because we apparently allow duplicate tasks.\r\n\r\n@gvwilson and @wking: is this behavior expected? If so, I'll revert my latest commit. Otherwise we have a bug here.","created_at":"2015-02-26T21:29:16Z","updated_at":"2015-02-28T10:50:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"286113d873291e8c69605e945d4c2817aa069e02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gvwilson/amy/pulls/2/commits","review_comments_url":"https://api.github.com/repos/gvwilson/amy/pulls/2/comments","review_comment_url":"https://api.github.com/repos/gvwilson/amy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gvwilson/amy/issues/2/comments","statuses_url":"https://api.github.com/repos/gvwilson/amy/statuses/4d121a80abfec990254d0b3101b0f861e2e7f62f","head":{"label":"pbanaszkiewicz:gvwilson-cmdline-import","ref":"gvwilson-cmdline-import","sha":"4d121a80abfec990254d0b3101b0f861e2e7f62f","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},"repo":{"id":28005098,"name":"amy","full_name":"pbanaszkiewicz/amy","owner":{"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},"private":false,"html_url":"https://github.com/pbanaszkiewicz/amy","description":"A web-based workshop administration application built using Django.","fork":true,"url":"https://api.github.com/repos/pbanaszkiewicz/amy","forks_url":"https://api.github.com/repos/pbanaszkiewicz/amy/forks","keys_url":"https://api.github.com/repos/pbanaszkiewicz/amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pbanaszkiewicz/amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pbanaszkiewicz/amy/teams","hooks_url":"https://api.github.com/repos/pbanaszkiewicz/amy/hooks","issue_events_url":"https://api.github.com/repos/pbanaszkiewicz/amy/issues/events{/number}","events_url":"https://api.github.com/repos/pbanaszkiewicz/amy/events","assignees_url":"https://api.github.com/repos/pbanaszkiewicz/amy/assignees{/user}","branches_url":"https://api.github.com/repos/pbanaszkiewicz/amy/branches{/branch}","tags_url":"https://api.github.com/repos/pbanaszkiewicz/amy/tags","blobs_url":"https://api.github.com/repos/pbanaszkiewicz/amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pbanaszkiewicz/amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pbanaszkiewicz/amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pbanaszkiewicz/amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pbanaszkiewicz/amy/statuses/{sha}","languages_url":"https://api.github.com/repos/pbanaszkiewicz/amy/languages","stargazers_url":"https://api.github.com/repos/pbanaszkiewicz/amy/stargazers","contributors_url":"https://api.github.com/repos/pbanaszkiewicz/amy/contributors","subscribers_url":"https://api.github.com/repos/pbanaszkiewicz/amy/subscribers","subscription_url":"https://api.github.com/repos/pbanaszkiewicz/amy/subscription","commits_url":"https://api.github.com/repos/pbanaszkiewicz/amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pbanaszkiewicz/amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pbanaszkiewicz/amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pbanaszkiewicz/amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pbanaszkiewicz/amy/contents/{+path}","compare_url":"https://api.github.com/repos/pbanaszkiewicz/amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pbanaszkiewicz/amy/merges","archive_url":"https://api.github.com/repos/pbanaszkiewicz/amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pbanaszkiewicz/amy/downloads","issues_url":"https://api.github.com/repos/pbanaszkiewicz/amy/issues{/number}","pulls_url":"https://api.github.com/repos/pbanaszkiewicz/amy/pulls{/number}","milestones_url":"https://api.github.com/repos/pbanaszkiewicz/amy/milestones{/number}","notifications_url":"https://api.github.com/repos/pbanaszkiewicz/amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pbanaszkiewicz/amy/labels{/name}","releases_url":"https://api.github.com/repos/pbanaszkiewicz/amy/releases{/id}","created_at":"2014-12-14T19:25:22Z","updated_at":"2015-02-24T10:36:35Z","pushed_at":"2015-02-27T19:52:58Z","git_url":"git://github.com/pbanaszkiewicz/amy.git","ssh_url":"git@github.com:pbanaszkiewicz/amy.git","clone_url":"https://github.com/pbanaszkiewicz/amy.git","svn_url":"https://github.com/pbanaszkiewicz/amy","homepage":null,"size":5368,"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":"master"}},"base":{"label":"gvwilson:cmdline-import","ref":"cmdline-import","sha":"8d497eeb9a5580be88fdff1f38f0c9affbf41382","user":{"login":"gvwilson","id":911566,"avatar_url":"https://avatars.githubusercontent.com/u/911566?v=3","gravatar_id":"","url":"https://api.github.com/users/gvwilson","html_url":"https://github.com/gvwilson","followers_url":"https://api.github.com/users/gvwilson/followers","following_url":"https://api.github.com/users/gvwilson/following{/other_user}","gists_url":"https://api.github.com/users/gvwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/gvwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvwilson/subscriptions","organizations_url":"https://api.github.com/users/gvwilson/orgs","repos_url":"https://api.github.com/users/gvwilson/repos","events_url":"https://api.github.com/users/gvwilson/events{/privacy}","received_events_url":"https://api.github.com/users/gvwilson/received_events","type":"User","site_admin":false},"repo":{"id":30499788,"name":"amy","full_name":"gvwilson/amy","owner":{"login":"gvwilson","id":911566,"avatar_url":"https://avatars.githubusercontent.com/u/911566?v=3","gravatar_id":"","url":"https://api.github.com/users/gvwilson","html_url":"https://github.com/gvwilson","followers_url":"https://api.github.com/users/gvwilson/followers","following_url":"https://api.github.com/users/gvwilson/following{/other_user}","gists_url":"https://api.github.com/users/gvwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/gvwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvwilson/subscriptions","organizations_url":"https://api.github.com/users/gvwilson/orgs","repos_url":"https://api.github.com/users/gvwilson/repos","events_url":"https://api.github.com/users/gvwilson/events{/privacy}","received_events_url":"https://api.github.com/users/gvwilson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gvwilson/amy","description":"A web-based workshop administration application built using Django.","fork":true,"url":"https://api.github.com/repos/gvwilson/amy","forks_url":"https://api.github.com/repos/gvwilson/amy/forks","keys_url":"https://api.github.com/repos/gvwilson/amy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gvwilson/amy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gvwilson/amy/teams","hooks_url":"https://api.github.com/repos/gvwilson/amy/hooks","issue_events_url":"https://api.github.com/repos/gvwilson/amy/issues/events{/number}","events_url":"https://api.github.com/repos/gvwilson/amy/events","assignees_url":"https://api.github.com/repos/gvwilson/amy/assignees{/user}","branches_url":"https://api.github.com/repos/gvwilson/amy/branches{/branch}","tags_url":"https://api.github.com/repos/gvwilson/amy/tags","blobs_url":"https://api.github.com/repos/gvwilson/amy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gvwilson/amy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gvwilson/amy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gvwilson/amy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gvwilson/amy/statuses/{sha}","languages_url":"https://api.github.com/repos/gvwilson/amy/languages","stargazers_url":"https://api.github.com/repos/gvwilson/amy/stargazers","contributors_url":"https://api.github.com/repos/gvwilson/amy/contributors","subscribers_url":"https://api.github.com/repos/gvwilson/amy/subscribers","subscription_url":"https://api.github.com/repos/gvwilson/amy/subscription","commits_url":"https://api.github.com/repos/gvwilson/amy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gvwilson/amy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gvwilson/amy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gvwilson/amy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gvwilson/amy/contents/{+path}","compare_url":"https://api.github.com/repos/gvwilson/amy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gvwilson/amy/merges","archive_url":"https://api.github.com/repos/gvwilson/amy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gvwilson/amy/downloads","issues_url":"https://api.github.com/repos/gvwilson/amy/issues{/number}","pulls_url":"https://api.github.com/repos/gvwilson/amy/pulls{/number}","milestones_url":"https://api.github.com/repos/gvwilson/amy/milestones{/number}","notifications_url":"https://api.github.com/repos/gvwilson/amy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gvwilson/amy/labels{/name}","releases_url":"https://api.github.com/repos/gvwilson/amy/releases{/id}","created_at":"2015-02-08T17:55:11Z","updated_at":"2015-02-08T17:55:11Z","pushed_at":"2015-02-25T19:56:57Z","git_url":"git://github.com/gvwilson/amy.git","ssh_url":"git@github.com:gvwilson/amy.git","clone_url":"https://github.com/gvwilson/amy.git","svn_url":"https://github.com/gvwilson/amy","homepage":null,"size":4772,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/2"},"html":{"href":"https://github.com/gvwilson/amy/pull/2"},"issue":{"href":"https://api.github.com/repos/gvwilson/amy/issues/2"},"comments":{"href":"https://api.github.com/repos/gvwilson/amy/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gvwilson/amy/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/gvwilson/amy/statuses/4d121a80abfec990254d0b3101b0f861e2e7f62f"}}}}