{"action":"opened","number":5059,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5059","id":41020299,"html_url":"https://github.com/django/django/pull/5059","diff_url":"https://github.com/django/django/pull/5059.diff","patch_url":"https://github.com/django/django/pull/5059.patch","issue_url":"https://api.github.com/repos/django/django/issues/5059","number":5059,"state":"open","locked":false,"title":"[WIP] Refs #24121 - Added more reprs","user":{"login":"kezabelle","id":118377,"avatar_url":"https://avatars.githubusercontent.com/u/118377?v=3","gravatar_id":"","url":"https://api.github.com/users/kezabelle","html_url":"https://github.com/kezabelle","followers_url":"https://api.github.com/users/kezabelle/followers","following_url":"https://api.github.com/users/kezabelle/following{/other_user}","gists_url":"https://api.github.com/users/kezabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/kezabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kezabelle/subscriptions","organizations_url":"https://api.github.com/users/kezabelle/orgs","repos_url":"https://api.github.com/users/kezabelle/repos","events_url":"https://api.github.com/users/kezabelle/events{/privacy}","received_events_url":"https://api.github.com/users/kezabelle/received_events","type":"User","site_admin":false},"body":"Bunching slightly more work together, but I'd appreciate any thoughts on the following, before I commit more time to any others I'd care to tackle:\r\n\r\n- the `contrib.messages` reprs include the count of messages (loaded and queued), but don't make it clear what the number represents. I'd prefer the message was `[3 messages]` vs `[3]` but I don't know how pluralization should be approached in the repr - ought it go through gettext, or is hardcoding english values ok? or leave as is? or drop the count?\r\n- the `conf.settings` ones likely won't pass the tests because the test is explicitly expecting to be run with the `test_sqlite` module ... how should I handle that? reconstruct what I'm expecting the result to be, interpolated with the environment value?\r\n- the `LazySettings` repr changes depending on if it was evaluated. I'm not sure whether that's appropriate, or whether it should call `_setup()` to ensure `_wrapped` is a real `Settings` object (prior to evaluation, trying to glean the settings module from `_wrapped` is an exception)\r\n\r\n[Original ticket is here, for reference](https://code.djangoproject.com/ticket/24121)","created_at":"2015-07-28T14:51:16Z","updated_at":"2015-07-28T14:51:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/5059/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/5059/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/5059/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/6fdb9d4dd8598193c739791112ce60df0912e1f4","head":{"label":"kezabelle:tickets/24121b","ref":"tickets/24121b","sha":"6fdb9d4dd8598193c739791112ce60df0912e1f4","user":{"login":"kezabelle","id":118377,"avatar_url":"https://avatars.githubusercontent.com/u/118377?v=3","gravatar_id":"","url":"https://api.github.com/users/kezabelle","html_url":"https://github.com/kezabelle","followers_url":"https://api.github.com/users/kezabelle/followers","following_url":"https://api.github.com/users/kezabelle/following{/other_user}","gists_url":"https://api.github.com/users/kezabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/kezabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kezabelle/subscriptions","organizations_url":"https://api.github.com/users/kezabelle/orgs","repos_url":"https://api.github.com/users/kezabelle/repos","events_url":"https://api.github.com/users/kezabelle/events{/privacy}","received_events_url":"https://api.github.com/users/kezabelle/received_events","type":"User","site_admin":false},"repo":{"id":8197083,"name":"django","full_name":"kezabelle/django","owner":{"login":"kezabelle","id":118377,"avatar_url":"https://avatars.githubusercontent.com/u/118377?v=3","gravatar_id":"","url":"https://api.github.com/users/kezabelle","html_url":"https://github.com/kezabelle","followers_url":"https://api.github.com/users/kezabelle/followers","following_url":"https://api.github.com/users/kezabelle/following{/other_user}","gists_url":"https://api.github.com/users/kezabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/kezabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kezabelle/subscriptions","organizations_url":"https://api.github.com/users/kezabelle/orgs","repos_url":"https://api.github.com/users/kezabelle/repos","events_url":"https://api.github.com/users/kezabelle/events{/privacy}","received_events_url":"https://api.github.com/users/kezabelle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kezabelle/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/kezabelle/django","forks_url":"https://api.github.com/repos/kezabelle/django/forks","keys_url":"https://api.github.com/repos/kezabelle/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kezabelle/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kezabelle/django/teams","hooks_url":"https://api.github.com/repos/kezabelle/django/hooks","issue_events_url":"https://api.github.com/repos/kezabelle/django/issues/events{/number}","events_url":"https://api.github.com/repos/kezabelle/django/events","assignees_url":"https://api.github.com/repos/kezabelle/django/assignees{/user}","branches_url":"https://api.github.com/repos/kezabelle/django/branches{/branch}","tags_url":"https://api.github.com/repos/kezabelle/django/tags","blobs_url":"https://api.github.com/repos/kezabelle/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kezabelle/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kezabelle/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/kezabelle/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kezabelle/django/statuses/{sha}","languages_url":"https://api.github.com/repos/kezabelle/django/languages","stargazers_url":"https://api.github.com/repos/kezabelle/django/stargazers","contributors_url":"https://api.github.com/repos/kezabelle/django/contributors","subscribers_url":"https://api.github.com/repos/kezabelle/django/subscribers","subscription_url":"https://api.github.com/repos/kezabelle/django/subscription","commits_url":"https://api.github.com/repos/kezabelle/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/kezabelle/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/kezabelle/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/kezabelle/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/kezabelle/django/contents/{+path}","compare_url":"https://api.github.com/repos/kezabelle/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kezabelle/django/merges","archive_url":"https://api.github.com/repos/kezabelle/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kezabelle/django/downloads","issues_url":"https://api.github.com/repos/kezabelle/django/issues{/number}","pulls_url":"https://api.github.com/repos/kezabelle/django/pulls{/number}","milestones_url":"https://api.github.com/repos/kezabelle/django/milestones{/number}","notifications_url":"https://api.github.com/repos/kezabelle/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kezabelle/django/labels{/name}","releases_url":"https://api.github.com/repos/kezabelle/django/releases{/id}","created_at":"2013-02-14T09:58:44Z","updated_at":"2015-03-10T00:44:57Z","pushed_at":"2015-07-28T14:38:30Z","git_url":"git://github.com/kezabelle/django.git","ssh_url":"git@github.com:kezabelle/django.git","clone_url":"https://github.com/kezabelle/django.git","svn_url":"https://github.com/kezabelle/django","homepage":"http://www.djangoproject.com/","size":123888,"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":"5d60d2b4576429d7057fe9e64f4107033581b627","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}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-07-28T14:49:54Z","pushed_at":"2015-07-28T14:50:16Z","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":301497,"stargazers_count":15300,"watchers_count":15300,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6118,"mirror_url":null,"open_issues_count":76,"forks":6118,"open_issues":76,"watchers":15300,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/5059"},"html":{"href":"https://github.com/django/django/pull/5059"},"issue":{"href":"https://api.github.com/repos/django/django/issues/5059"},"comments":{"href":"https://api.github.com/repos/django/django/issues/5059/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/5059/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/5059/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/6fdb9d4dd8598193c739791112ce60df0912e1f4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":107,"deletions":0,"changed_files":11}}