{"action":"closed","number":7447,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/7447","id":91395024,"html_url":"https://github.com/django/django/pull/7447","diff_url":"https://github.com/django/django/pull/7447.diff","patch_url":"https://github.com/django/django/pull/7447.patch","issue_url":"https://api.github.com/repos/django/django/issues/7447","number":7447,"state":"closed","locked":false,"title":"Fixed #25240 -- Add \"week\" lookup to DateField/DateTimeField.","user":{"login":"atombrella","id":6141390,"avatar_url":"https://avatars.githubusercontent.com/u/6141390?v=3","gravatar_id":"","url":"https://api.github.com/users/atombrella","html_url":"https://github.com/atombrella","followers_url":"https://api.github.com/users/atombrella/followers","following_url":"https://api.github.com/users/atombrella/following{/other_user}","gists_url":"https://api.github.com/users/atombrella/gists{/gist_id}","starred_url":"https://api.github.com/users/atombrella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atombrella/subscriptions","organizations_url":"https://api.github.com/users/atombrella/orgs","repos_url":"https://api.github.com/users/atombrella/repos","events_url":"https://api.github.com/users/atombrella/events{/privacy}","received_events_url":"https://api.github.com/users/atombrella/received_events","type":"User","site_admin":false},"body":"… datetime fields\r\n\r\nThe choice of week numbers is based on ISO-8601. The choice for weekdays is based on Sunday being the first day of the week. I've contemplated about introducing a setting to choose (for this patch) to be ISO-8601 compliant.","created_at":"2016-10-28T14:48:20Z","updated_at":"2016-11-11T13:01:40Z","closed_at":"2016-11-11T13:01:40Z","merged_at":"2016-11-11T13:01:40Z","merge_commit_sha":"1446902be48ebf19bfe484371897a2815dd21fca","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/7447/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/7447/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/7447/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/6560a6d5639f1e92c1966573b9f591ea47635f73","head":{"label":"atombrella:ticket_25240","ref":"ticket_25240","sha":"6560a6d5639f1e92c1966573b9f591ea47635f73","user":{"login":"atombrella","id":6141390,"avatar_url":"https://avatars.githubusercontent.com/u/6141390?v=3","gravatar_id":"","url":"https://api.github.com/users/atombrella","html_url":"https://github.com/atombrella","followers_url":"https://api.github.com/users/atombrella/followers","following_url":"https://api.github.com/users/atombrella/following{/other_user}","gists_url":"https://api.github.com/users/atombrella/gists{/gist_id}","starred_url":"https://api.github.com/users/atombrella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atombrella/subscriptions","organizations_url":"https://api.github.com/users/atombrella/orgs","repos_url":"https://api.github.com/users/atombrella/repos","events_url":"https://api.github.com/users/atombrella/events{/privacy}","received_events_url":"https://api.github.com/users/atombrella/received_events","type":"User","site_admin":false},"repo":{"id":24504708,"name":"django","full_name":"atombrella/django","owner":{"login":"atombrella","id":6141390,"avatar_url":"https://avatars.githubusercontent.com/u/6141390?v=3","gravatar_id":"","url":"https://api.github.com/users/atombrella","html_url":"https://github.com/atombrella","followers_url":"https://api.github.com/users/atombrella/followers","following_url":"https://api.github.com/users/atombrella/following{/other_user}","gists_url":"https://api.github.com/users/atombrella/gists{/gist_id}","starred_url":"https://api.github.com/users/atombrella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atombrella/subscriptions","organizations_url":"https://api.github.com/users/atombrella/orgs","repos_url":"https://api.github.com/users/atombrella/repos","events_url":"https://api.github.com/users/atombrella/events{/privacy}","received_events_url":"https://api.github.com/users/atombrella/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atombrella/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/atombrella/django","forks_url":"https://api.github.com/repos/atombrella/django/forks","keys_url":"https://api.github.com/repos/atombrella/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atombrella/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atombrella/django/teams","hooks_url":"https://api.github.com/repos/atombrella/django/hooks","issue_events_url":"https://api.github.com/repos/atombrella/django/issues/events{/number}","events_url":"https://api.github.com/repos/atombrella/django/events","assignees_url":"https://api.github.com/repos/atombrella/django/assignees{/user}","branches_url":"https://api.github.com/repos/atombrella/django/branches{/branch}","tags_url":"https://api.github.com/repos/atombrella/django/tags","blobs_url":"https://api.github.com/repos/atombrella/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atombrella/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atombrella/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/atombrella/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atombrella/django/statuses/{sha}","languages_url":"https://api.github.com/repos/atombrella/django/languages","stargazers_url":"https://api.github.com/repos/atombrella/django/stargazers","contributors_url":"https://api.github.com/repos/atombrella/django/contributors","subscribers_url":"https://api.github.com/repos/atombrella/django/subscribers","subscription_url":"https://api.github.com/repos/atombrella/django/subscription","commits_url":"https://api.github.com/repos/atombrella/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/atombrella/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/atombrella/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/atombrella/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/atombrella/django/contents/{+path}","compare_url":"https://api.github.com/repos/atombrella/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atombrella/django/merges","archive_url":"https://api.github.com/repos/atombrella/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atombrella/django/downloads","issues_url":"https://api.github.com/repos/atombrella/django/issues{/number}","pulls_url":"https://api.github.com/repos/atombrella/django/pulls{/number}","milestones_url":"https://api.github.com/repos/atombrella/django/milestones{/number}","notifications_url":"https://api.github.com/repos/atombrella/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atombrella/django/labels{/name}","releases_url":"https://api.github.com/repos/atombrella/django/releases{/id}","deployments_url":"https://api.github.com/repos/atombrella/django/deployments","created_at":"2014-09-26T15:26:37Z","updated_at":"2016-03-21T20:58:14Z","pushed_at":"2016-11-11T12:41:30Z","git_url":"git://github.com/atombrella/django.git","ssh_url":"git@github.com:atombrella/django.git","clone_url":"https://github.com/atombrella/django.git","svn_url":"https://github.com/atombrella/django","homepage":"https://www.djangoproject.com/","size":144590,"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":"2dc07da497f5ae95ad34a4714e330fae1fa8413c","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-11-11T12:06:13Z","pushed_at":"2016-11-11T13:01:41Z","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":215422,"stargazers_count":22090,"watchers_count":22090,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8888,"mirror_url":null,"open_issues_count":125,"forks":8888,"open_issues":125,"watchers":22090,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/7447"},"html":{"href":"https://github.com/django/django/pull/7447"},"issue":{"href":"https://api.github.com/repos/django/django/issues/7447"},"comments":{"href":"https://api.github.com/repos/django/django/issues/7447/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/7447/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/7447/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/6560a6d5639f1e92c1966573b9f591ea47635f73"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timgraham","id":411869,"avatar_url":"https://avatars.githubusercontent.com/u/411869?v=3","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"comments":4,"review_comments":11,"commits":1,"additions":126,"deletions":5,"changed_files":9}}
{"actor":{"display_login":"timgraham"}}