{"action":"closed","number":6153,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/6153","id":59594845,"html_url":"https://github.com/django/django/pull/6153","diff_url":"https://github.com/django/django/pull/6153.diff","patch_url":"https://github.com/django/django/pull/6153.patch","issue_url":"https://api.github.com/repos/django/django/issues/6153","number":6153,"state":"closed","locked":false,"title":"Changed documentation to follow recommended ValidationError use.","user":{"login":"jdufresne","id":347634,"avatar_url":"https://avatars.githubusercontent.com/u/347634?v=3","gravatar_id":"","url":"https://api.github.com/users/jdufresne","html_url":"https://github.com/jdufresne","followers_url":"https://api.github.com/users/jdufresne/followers","following_url":"https://api.github.com/users/jdufresne/following{/other_user}","gists_url":"https://api.github.com/users/jdufresne/gists{/gist_id}","starred_url":"https://api.github.com/users/jdufresne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdufresne/subscriptions","organizations_url":"https://api.github.com/users/jdufresne/orgs","repos_url":"https://api.github.com/users/jdufresne/repos","events_url":"https://api.github.com/users/jdufresne/events{/privacy}","received_events_url":"https://api.github.com/users/jdufresne/received_events","type":"User","site_admin":false},"body":"While reading the [Validators documentation](https://docs.djangoproject.com/en/1.9/ref/validators/), I noticed it did not raise a `ValidationError` in the manner recommended by the [Raising `ValidationError` documentation](https://docs.djangoproject.com/en/1.9/ref/forms/validation/#raising-validationerror). The lack of `params` was most obvious to me.","created_at":"2016-02-17T04:24:58Z","updated_at":"2016-02-17T14:10:25Z","closed_at":"2016-02-17T14:10:25Z","merged_at":null,"merge_commit_sha":"78c16de55bf94d47217a2e6fcf4adbd6a412e36f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/6153/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/6153/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/6153/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/c6675b15479fbef0910d97ca8745a94d69acc868","head":{"label":"jdufresne:docs-raise-validationerror","ref":"docs-raise-validationerror","sha":"c6675b15479fbef0910d97ca8745a94d69acc868","user":{"login":"jdufresne","id":347634,"avatar_url":"https://avatars.githubusercontent.com/u/347634?v=3","gravatar_id":"","url":"https://api.github.com/users/jdufresne","html_url":"https://github.com/jdufresne","followers_url":"https://api.github.com/users/jdufresne/followers","following_url":"https://api.github.com/users/jdufresne/following{/other_user}","gists_url":"https://api.github.com/users/jdufresne/gists{/gist_id}","starred_url":"https://api.github.com/users/jdufresne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdufresne/subscriptions","organizations_url":"https://api.github.com/users/jdufresne/orgs","repos_url":"https://api.github.com/users/jdufresne/repos","events_url":"https://api.github.com/users/jdufresne/events{/privacy}","received_events_url":"https://api.github.com/users/jdufresne/received_events","type":"User","site_admin":false},"repo":{"id":23339499,"name":"django","full_name":"jdufresne/django","owner":{"login":"jdufresne","id":347634,"avatar_url":"https://avatars.githubusercontent.com/u/347634?v=3","gravatar_id":"","url":"https://api.github.com/users/jdufresne","html_url":"https://github.com/jdufresne","followers_url":"https://api.github.com/users/jdufresne/followers","following_url":"https://api.github.com/users/jdufresne/following{/other_user}","gists_url":"https://api.github.com/users/jdufresne/gists{/gist_id}","starred_url":"https://api.github.com/users/jdufresne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdufresne/subscriptions","organizations_url":"https://api.github.com/users/jdufresne/orgs","repos_url":"https://api.github.com/users/jdufresne/repos","events_url":"https://api.github.com/users/jdufresne/events{/privacy}","received_events_url":"https://api.github.com/users/jdufresne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdufresne/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/jdufresne/django","forks_url":"https://api.github.com/repos/jdufresne/django/forks","keys_url":"https://api.github.com/repos/jdufresne/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdufresne/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdufresne/django/teams","hooks_url":"https://api.github.com/repos/jdufresne/django/hooks","issue_events_url":"https://api.github.com/repos/jdufresne/django/issues/events{/number}","events_url":"https://api.github.com/repos/jdufresne/django/events","assignees_url":"https://api.github.com/repos/jdufresne/django/assignees{/user}","branches_url":"https://api.github.com/repos/jdufresne/django/branches{/branch}","tags_url":"https://api.github.com/repos/jdufresne/django/tags","blobs_url":"https://api.github.com/repos/jdufresne/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdufresne/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdufresne/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdufresne/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdufresne/django/statuses/{sha}","languages_url":"https://api.github.com/repos/jdufresne/django/languages","stargazers_url":"https://api.github.com/repos/jdufresne/django/stargazers","contributors_url":"https://api.github.com/repos/jdufresne/django/contributors","subscribers_url":"https://api.github.com/repos/jdufresne/django/subscribers","subscription_url":"https://api.github.com/repos/jdufresne/django/subscription","commits_url":"https://api.github.com/repos/jdufresne/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdufresne/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdufresne/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdufresne/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdufresne/django/contents/{+path}","compare_url":"https://api.github.com/repos/jdufresne/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdufresne/django/merges","archive_url":"https://api.github.com/repos/jdufresne/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdufresne/django/downloads","issues_url":"https://api.github.com/repos/jdufresne/django/issues{/number}","pulls_url":"https://api.github.com/repos/jdufresne/django/pulls{/number}","milestones_url":"https://api.github.com/repos/jdufresne/django/milestones{/number}","notifications_url":"https://api.github.com/repos/jdufresne/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdufresne/django/labels{/name}","releases_url":"https://api.github.com/repos/jdufresne/django/releases{/id}","deployments_url":"https://api.github.com/repos/jdufresne/django/deployments","created_at":"2014-08-26T05:11:10Z","updated_at":"2016-02-10T00:56:50Z","pushed_at":"2016-02-17T04:21:41Z","git_url":"git://github.com/jdufresne/django.git","ssh_url":"git@github.com:jdufresne/django.git","clone_url":"https://github.com/jdufresne/django.git","svn_url":"https://github.com/jdufresne/django","homepage":"https://www.djangoproject.com/","size":136102,"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":"django:master","ref":"master","sha":"928c12eb1a75dbcab22b64f8cf0afb17389c20d2","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","deployments_url":"https://api.github.com/repos/django/django/deployments","created_at":"2012-04-28T02:47:18Z","updated_at":"2016-02-17T13:24:04Z","pushed_at":"2016-02-17T14:10:17Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":182650,"stargazers_count":18069,"watchers_count":18069,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7337,"mirror_url":null,"open_issues_count":102,"forks":7337,"open_issues":102,"watchers":18069,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/6153"},"html":{"href":"https://github.com/django/django/pull/6153"},"issue":{"href":"https://api.github.com/repos/django/django/issues/6153"},"comments":{"href":"https://api.github.com/repos/django/django/issues/6153/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/6153/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/6153/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/c6675b15479fbef0910d97ca8745a94d69acc868"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":2,"changed_files":2}}