{"action":"created","issue":{"url":"https://api.github.com/repos/django/django/issues/11215","repository_url":"https://api.github.com/repos/django/django","labels_url":"https://api.github.com/repos/django/django/issues/11215/labels{/name}","comments_url":"https://api.github.com/repos/django/django/issues/11215/comments","events_url":"https://api.github.com/repos/django/django/issues/11215/events","html_url":"https://github.com/django/django/pull/11215","id":432846005,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcwMjI1NTg5","number":11215,"title":"Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.","user":{"login":"amir-hadi","id":234253,"node_id":"MDQ6VXNlcjIzNDI1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/234253?v=4","gravatar_id":"","url":"https://api.github.com/users/amir-hadi","html_url":"https://github.com/amir-hadi","followers_url":"https://api.github.com/users/amir-hadi/followers","following_url":"https://api.github.com/users/amir-hadi/following{/other_user}","gists_url":"https://api.github.com/users/amir-hadi/gists{/gist_id}","starred_url":"https://api.github.com/users/amir-hadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir-hadi/subscriptions","organizations_url":"https://api.github.com/users/amir-hadi/orgs","repos_url":"https://api.github.com/users/amir-hadi/repos","events_url":"https://api.github.com/users/amir-hadi/events{/privacy}","received_events_url":"https://api.github.com/users/amir-hadi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"felixxm","id":2865885,"node_id":"MDQ6VXNlcjI4NjU4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2865885?v=4","gravatar_id":"","url":"https://api.github.com/users/felixxm","html_url":"https://github.com/felixxm","followers_url":"https://api.github.com/users/felixxm/followers","following_url":"https://api.github.com/users/felixxm/following{/other_user}","gists_url":"https://api.github.com/users/felixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/felixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixxm/subscriptions","organizations_url":"https://api.github.com/users/felixxm/orgs","repos_url":"https://api.github.com/users/felixxm/repos","events_url":"https://api.github.com/users/felixxm/events{/privacy}","received_events_url":"https://api.github.com/users/felixxm/received_events","type":"User","site_admin":false},"assignees":[{"login":"felixxm","id":2865885,"node_id":"MDQ6VXNlcjI4NjU4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2865885?v=4","gravatar_id":"","url":"https://api.github.com/users/felixxm","html_url":"https://github.com/felixxm","followers_url":"https://api.github.com/users/felixxm/followers","following_url":"https://api.github.com/users/felixxm/following{/other_user}","gists_url":"https://api.github.com/users/felixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/felixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixxm/subscriptions","organizations_url":"https://api.github.com/users/felixxm/orgs","repos_url":"https://api.github.com/users/felixxm/repos","events_url":"https://api.github.com/users/felixxm/events{/privacy}","received_events_url":"https://api.github.com/users/felixxm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2019-04-13T13:11:02Z","updated_at":"2019-04-17T06:04:19Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/django/django/pulls/11215","html_url":"https://github.com/django/django/pull/11215","diff_url":"https://github.com/django/django/pull/11215.diff","patch_url":"https://github.com/django/django/pull/11215.patch"},"body":"Fixes https://code.djangoproject.com/ticket/6785 by using the hints from Shai Berger and Anssi. Needs tests with an Oracle DB please."},"comment":{"url":"https://api.github.com/repos/django/django/issues/comments/483949243","html_url":"https://github.com/django/django/pull/11215#issuecomment-483949243","issue_url":"https://api.github.com/repos/django/django/issues/11215","id":483949243,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4Mzk0OTI0Mw==","user":{"login":"felixxm","id":2865885,"node_id":"MDQ6VXNlcjI4NjU4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2865885?v=4","gravatar_id":"","url":"https://api.github.com/users/felixxm","html_url":"https://github.com/felixxm","followers_url":"https://api.github.com/users/felixxm/followers","following_url":"https://api.github.com/users/felixxm/following{/other_user}","gists_url":"https://api.github.com/users/felixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/felixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixxm/subscriptions","organizations_url":"https://api.github.com/users/felixxm/orgs","repos_url":"https://api.github.com/users/felixxm/repos","events_url":"https://api.github.com/users/felixxm/events{/privacy}","received_events_url":"https://api.github.com/users/felixxm/received_events","type":"User","site_admin":false},"created_at":"2019-04-17T06:04:19Z","updated_at":"2019-04-17T06:04:19Z","author_association":"MEMBER","body":"@dikamilo `get()` returns a single objects and this behavior will not change. This patch is only an optimization in constructing a query for `get()`. Previously we retrieve all rows then we check number of rows and return single row or raise an exception. After this patch we will retrieve **limited** (e.g. **20**) rows instead of **all**."}}
{"actor":{"display_login":"felixxm"}}