{"action":"opened","number":1233,"pull_request":{"url":"https://api.github.com/repos/mozilla/mozillians/pulls/1233","id":43195383,"html_url":"https://github.com/mozilla/mozillians/pull/1233","diff_url":"https://github.com/mozilla/mozillians/pull/1233.diff","patch_url":"https://github.com/mozilla/mozillians/pull/1233.patch","issue_url":"https://api.github.com/repos/mozilla/mozillians/issues/1233","number":1233,"state":"open","locked":false,"title":"[Bug 1196244] Remove duplicate legacy code.","user":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"body":"We used duplicate code in groups/{forms,models}.py because of this:\r\nhttps://code.djangoproject.com/ticket/16986\r\n\r\nNow with Django 1.7 model can clean individual fields and there is\r\nno need to clean both `ModelForm` and `Model`.","created_at":"2015-08-24T16:43:09Z","updated_at":"2015-08-24T16:43:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1233/commits","review_comments_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1233/comments","review_comment_url":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mozillians/issues/1233/comments","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/132c9b510c2d874eb46c3922b006858b54c18a0c","head":{"label":"johngian:legacy-code-1.7","ref":"legacy-code-1.7","sha":"132c9b510c2d874eb46c3922b006858b54c18a0c","user":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"repo":{"id":18565037,"name":"mozillians","full_name":"johngian/mozillians","owner":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johngian/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":true,"url":"https://api.github.com/repos/johngian/mozillians","forks_url":"https://api.github.com/repos/johngian/mozillians/forks","keys_url":"https://api.github.com/repos/johngian/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johngian/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johngian/mozillians/teams","hooks_url":"https://api.github.com/repos/johngian/mozillians/hooks","issue_events_url":"https://api.github.com/repos/johngian/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/johngian/mozillians/events","assignees_url":"https://api.github.com/repos/johngian/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/johngian/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/johngian/mozillians/tags","blobs_url":"https://api.github.com/repos/johngian/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johngian/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johngian/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/johngian/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johngian/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/johngian/mozillians/languages","stargazers_url":"https://api.github.com/repos/johngian/mozillians/stargazers","contributors_url":"https://api.github.com/repos/johngian/mozillians/contributors","subscribers_url":"https://api.github.com/repos/johngian/mozillians/subscribers","subscription_url":"https://api.github.com/repos/johngian/mozillians/subscription","commits_url":"https://api.github.com/repos/johngian/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/johngian/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/johngian/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/johngian/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/johngian/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/johngian/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johngian/mozillians/merges","archive_url":"https://api.github.com/repos/johngian/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johngian/mozillians/downloads","issues_url":"https://api.github.com/repos/johngian/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/johngian/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/johngian/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/johngian/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johngian/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/johngian/mozillians/releases{/id}","created_at":"2014-04-08T16:09:51Z","updated_at":"2015-04-16T10:12:14Z","pushed_at":"2015-08-24T16:42:33Z","git_url":"git://github.com/johngian/mozillians.git","ssh_url":"git@github.com:johngian/mozillians.git","clone_url":"https://github.com/johngian/mozillians.git","svn_url":"https://github.com/johngian/mozillians","homepage":"https://mozillians.org/","size":32183,"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":"mozilla:master","ref":"master","sha":"eb510e7326265373f80b0c4bef2c67456994584b","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1799884,"name":"mozillians","full_name":"mozilla/mozillians","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":false,"url":"https://api.github.com/repos/mozilla/mozillians","forks_url":"https://api.github.com/repos/mozilla/mozillians/forks","keys_url":"https://api.github.com/repos/mozilla/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mozillians/teams","hooks_url":"https://api.github.com/repos/mozilla/mozillians/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mozillians/events","assignees_url":"https://api.github.com/repos/mozilla/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mozillians/tags","blobs_url":"https://api.github.com/repos/mozilla/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mozillians/languages","stargazers_url":"https://api.github.com/repos/mozilla/mozillians/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mozillians/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mozillians/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mozillians/subscription","commits_url":"https://api.github.com/repos/mozilla/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mozillians/merges","archive_url":"https://api.github.com/repos/mozilla/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mozillians/downloads","issues_url":"https://api.github.com/repos/mozilla/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mozillians/releases{/id}","created_at":"2011-05-25T16:38:54Z","updated_at":"2015-08-24T13:09:10Z","pushed_at":"2015-08-24T16:01:33Z","git_url":"git://github.com/mozilla/mozillians.git","ssh_url":"git@github.com:mozilla/mozillians.git","clone_url":"https://github.com/mozilla/mozillians.git","svn_url":"https://github.com/mozilla/mozillians","homepage":"https://mozillians.org/","size":37352,"stargazers_count":161,"watchers_count":161,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":273,"mirror_url":null,"open_issues_count":18,"forks":273,"open_issues":18,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1233"},"html":{"href":"https://github.com/mozilla/mozillians/pull/1233"},"issue":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1233"},"comments":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1233/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1233/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1233/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mozillians/statuses/132c9b510c2d874eb46c3922b006858b54c18a0c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":25,"changed_files":2}}