{"action":"opened","number":428,"pull_request":{"url":"https://api.github.com/repos/codeeu/coding-events/pulls/428","id":46288112,"html_url":"https://github.com/codeeu/coding-events/pull/428","diff_url":"https://github.com/codeeu/coding-events/pull/428.diff","patch_url":"https://github.com/codeeu/coding-events/pull/428.patch","issue_url":"https://api.github.com/repos/codeeu/coding-events/issues/428","number":428,"state":"open","locked":false,"title":"Add support to main contact and secondary ambassadors","user":{"login":"michelesr","id":2516077,"avatar_url":"https://avatars.githubusercontent.com/u/2516077?v=3","gravatar_id":"","url":"https://api.github.com/users/michelesr","html_url":"https://github.com/michelesr","followers_url":"https://api.github.com/users/michelesr/followers","following_url":"https://api.github.com/users/michelesr/following{/other_user}","gists_url":"https://api.github.com/users/michelesr/gists{/gist_id}","starred_url":"https://api.github.com/users/michelesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelesr/subscriptions","organizations_url":"https://api.github.com/users/michelesr/orgs","repos_url":"https://api.github.com/users/michelesr/repos","events_url":"https://api.github.com/users/michelesr/events{/privacy}","received_events_url":"https://api.github.com/users/michelesr/received_events","type":"User","site_admin":false},"body":"In order to update the database the following commands are to be executed:\r\n\r\n    ./manage.py schemamigration api --auto\r\n    ./manage.py migrate api\r\n\r\nThe `role` and `is_main_contact` field can be manipolated from the `Api -> User profiles` section of the admin interface.\r\n\r\nI moved the contacts information in the top of the page as suggested by Alessandro Bogliolo. I leave further template changes to you.\r\n\r\nAlso improved the test implemented in 2b429ea8af4de0a5876b937","created_at":"2015-09-29T14:56:06Z","updated_at":"2015-09-29T14:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codeeu/coding-events/pulls/428/commits","review_comments_url":"https://api.github.com/repos/codeeu/coding-events/pulls/428/comments","review_comment_url":"https://api.github.com/repos/codeeu/coding-events/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeeu/coding-events/issues/428/comments","statuses_url":"https://api.github.com/repos/codeeu/coding-events/statuses/7faaba034ff906176c5af4f59218ed9de87cb378","head":{"label":"michelesr:dev","ref":"dev","sha":"7faaba034ff906176c5af4f59218ed9de87cb378","user":{"login":"michelesr","id":2516077,"avatar_url":"https://avatars.githubusercontent.com/u/2516077?v=3","gravatar_id":"","url":"https://api.github.com/users/michelesr","html_url":"https://github.com/michelesr","followers_url":"https://api.github.com/users/michelesr/followers","following_url":"https://api.github.com/users/michelesr/following{/other_user}","gists_url":"https://api.github.com/users/michelesr/gists{/gist_id}","starred_url":"https://api.github.com/users/michelesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelesr/subscriptions","organizations_url":"https://api.github.com/users/michelesr/orgs","repos_url":"https://api.github.com/users/michelesr/repos","events_url":"https://api.github.com/users/michelesr/events{/privacy}","received_events_url":"https://api.github.com/users/michelesr/received_events","type":"User","site_admin":false},"repo":{"id":43291290,"name":"coding-events","full_name":"michelesr/coding-events","owner":{"login":"michelesr","id":2516077,"avatar_url":"https://avatars.githubusercontent.com/u/2516077?v=3","gravatar_id":"","url":"https://api.github.com/users/michelesr","html_url":"https://github.com/michelesr","followers_url":"https://api.github.com/users/michelesr/followers","following_url":"https://api.github.com/users/michelesr/following{/other_user}","gists_url":"https://api.github.com/users/michelesr/gists{/gist_id}","starred_url":"https://api.github.com/users/michelesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelesr/subscriptions","organizations_url":"https://api.github.com/users/michelesr/orgs","repos_url":"https://api.github.com/users/michelesr/repos","events_url":"https://api.github.com/users/michelesr/events{/privacy}","received_events_url":"https://api.github.com/users/michelesr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michelesr/coding-events","description":"A Django app for adding EU Code Week events and showing them on a map.","fork":true,"url":"https://api.github.com/repos/michelesr/coding-events","forks_url":"https://api.github.com/repos/michelesr/coding-events/forks","keys_url":"https://api.github.com/repos/michelesr/coding-events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michelesr/coding-events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michelesr/coding-events/teams","hooks_url":"https://api.github.com/repos/michelesr/coding-events/hooks","issue_events_url":"https://api.github.com/repos/michelesr/coding-events/issues/events{/number}","events_url":"https://api.github.com/repos/michelesr/coding-events/events","assignees_url":"https://api.github.com/repos/michelesr/coding-events/assignees{/user}","branches_url":"https://api.github.com/repos/michelesr/coding-events/branches{/branch}","tags_url":"https://api.github.com/repos/michelesr/coding-events/tags","blobs_url":"https://api.github.com/repos/michelesr/coding-events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michelesr/coding-events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michelesr/coding-events/git/refs{/sha}","trees_url":"https://api.github.com/repos/michelesr/coding-events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michelesr/coding-events/statuses/{sha}","languages_url":"https://api.github.com/repos/michelesr/coding-events/languages","stargazers_url":"https://api.github.com/repos/michelesr/coding-events/stargazers","contributors_url":"https://api.github.com/repos/michelesr/coding-events/contributors","subscribers_url":"https://api.github.com/repos/michelesr/coding-events/subscribers","subscription_url":"https://api.github.com/repos/michelesr/coding-events/subscription","commits_url":"https://api.github.com/repos/michelesr/coding-events/commits{/sha}","git_commits_url":"https://api.github.com/repos/michelesr/coding-events/git/commits{/sha}","comments_url":"https://api.github.com/repos/michelesr/coding-events/comments{/number}","issue_comment_url":"https://api.github.com/repos/michelesr/coding-events/issues/comments{/number}","contents_url":"https://api.github.com/repos/michelesr/coding-events/contents/{+path}","compare_url":"https://api.github.com/repos/michelesr/coding-events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michelesr/coding-events/merges","archive_url":"https://api.github.com/repos/michelesr/coding-events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michelesr/coding-events/downloads","issues_url":"https://api.github.com/repos/michelesr/coding-events/issues{/number}","pulls_url":"https://api.github.com/repos/michelesr/coding-events/pulls{/number}","milestones_url":"https://api.github.com/repos/michelesr/coding-events/milestones{/number}","notifications_url":"https://api.github.com/repos/michelesr/coding-events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michelesr/coding-events/labels{/name}","releases_url":"https://api.github.com/repos/michelesr/coding-events/releases{/id}","created_at":"2015-09-28T09:13:48Z","updated_at":"2015-09-28T09:13:50Z","pushed_at":"2015-09-29T14:52:31Z","git_url":"git://github.com/michelesr/coding-events.git","ssh_url":"git@github.com:michelesr/coding-events.git","clone_url":"https://github.com/michelesr/coding-events.git","svn_url":"https://github.com/michelesr/coding-events","homepage":"http://events.codeweek.eu","size":17115,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"codeeu:master","ref":"master","sha":"0877a7efb20607bdddeef4dcf3c3d9bb0ce3e941","user":{"login":"codeeu","id":5338244,"avatar_url":"https://avatars.githubusercontent.com/u/5338244?v=3","gravatar_id":"","url":"https://api.github.com/users/codeeu","html_url":"https://github.com/codeeu","followers_url":"https://api.github.com/users/codeeu/followers","following_url":"https://api.github.com/users/codeeu/following{/other_user}","gists_url":"https://api.github.com/users/codeeu/gists{/gist_id}","starred_url":"https://api.github.com/users/codeeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeeu/subscriptions","organizations_url":"https://api.github.com/users/codeeu/orgs","repos_url":"https://api.github.com/users/codeeu/repos","events_url":"https://api.github.com/users/codeeu/events{/privacy}","received_events_url":"https://api.github.com/users/codeeu/received_events","type":"Organization","site_admin":false},"repo":{"id":16775895,"name":"coding-events","full_name":"codeeu/coding-events","owner":{"login":"codeeu","id":5338244,"avatar_url":"https://avatars.githubusercontent.com/u/5338244?v=3","gravatar_id":"","url":"https://api.github.com/users/codeeu","html_url":"https://github.com/codeeu","followers_url":"https://api.github.com/users/codeeu/followers","following_url":"https://api.github.com/users/codeeu/following{/other_user}","gists_url":"https://api.github.com/users/codeeu/gists{/gist_id}","starred_url":"https://api.github.com/users/codeeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeeu/subscriptions","organizations_url":"https://api.github.com/users/codeeu/orgs","repos_url":"https://api.github.com/users/codeeu/repos","events_url":"https://api.github.com/users/codeeu/events{/privacy}","received_events_url":"https://api.github.com/users/codeeu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeeu/coding-events","description":"A Django app for adding EU Code Week events and showing them on a map.","fork":false,"url":"https://api.github.com/repos/codeeu/coding-events","forks_url":"https://api.github.com/repos/codeeu/coding-events/forks","keys_url":"https://api.github.com/repos/codeeu/coding-events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeeu/coding-events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeeu/coding-events/teams","hooks_url":"https://api.github.com/repos/codeeu/coding-events/hooks","issue_events_url":"https://api.github.com/repos/codeeu/coding-events/issues/events{/number}","events_url":"https://api.github.com/repos/codeeu/coding-events/events","assignees_url":"https://api.github.com/repos/codeeu/coding-events/assignees{/user}","branches_url":"https://api.github.com/repos/codeeu/coding-events/branches{/branch}","tags_url":"https://api.github.com/repos/codeeu/coding-events/tags","blobs_url":"https://api.github.com/repos/codeeu/coding-events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeeu/coding-events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeeu/coding-events/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeeu/coding-events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeeu/coding-events/statuses/{sha}","languages_url":"https://api.github.com/repos/codeeu/coding-events/languages","stargazers_url":"https://api.github.com/repos/codeeu/coding-events/stargazers","contributors_url":"https://api.github.com/repos/codeeu/coding-events/contributors","subscribers_url":"https://api.github.com/repos/codeeu/coding-events/subscribers","subscription_url":"https://api.github.com/repos/codeeu/coding-events/subscription","commits_url":"https://api.github.com/repos/codeeu/coding-events/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeeu/coding-events/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeeu/coding-events/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeeu/coding-events/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeeu/coding-events/contents/{+path}","compare_url":"https://api.github.com/repos/codeeu/coding-events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeeu/coding-events/merges","archive_url":"https://api.github.com/repos/codeeu/coding-events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeeu/coding-events/downloads","issues_url":"https://api.github.com/repos/codeeu/coding-events/issues{/number}","pulls_url":"https://api.github.com/repos/codeeu/coding-events/pulls{/number}","milestones_url":"https://api.github.com/repos/codeeu/coding-events/milestones{/number}","notifications_url":"https://api.github.com/repos/codeeu/coding-events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeeu/coding-events/labels{/name}","releases_url":"https://api.github.com/repos/codeeu/coding-events/releases{/id}","created_at":"2014-02-12T17:44:49Z","updated_at":"2015-09-28T10:44:58Z","pushed_at":"2015-09-29T10:19:44Z","git_url":"git://github.com/codeeu/coding-events.git","ssh_url":"git@github.com:codeeu/coding-events.git","clone_url":"https://github.com/codeeu/coding-events.git","svn_url":"https://github.com/codeeu/coding-events","homepage":"http://events.codeweek.eu","size":17115,"stargazers_count":14,"watchers_count":14,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":39,"forks":25,"open_issues":39,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeeu/coding-events/pulls/428"},"html":{"href":"https://github.com/codeeu/coding-events/pull/428"},"issue":{"href":"https://api.github.com/repos/codeeu/coding-events/issues/428"},"comments":{"href":"https://api.github.com/repos/codeeu/coding-events/issues/428/comments"},"review_comments":{"href":"https://api.github.com/repos/codeeu/coding-events/pulls/428/comments"},"review_comment":{"href":"https://api.github.com/repos/codeeu/coding-events/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeeu/coding-events/pulls/428/commits"},"statuses":{"href":"https://api.github.com/repos/codeeu/coding-events/statuses/7faaba034ff906176c5af4f59218ed9de87cb378"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":83,"deletions":67,"changed_files":4}}