{"action":"created","issue":{"url":"https://api.github.com/repos/django/django/issues/8026","repository_url":"https://api.github.com/repos/django/django","labels_url":"https://api.github.com/repos/django/django/issues/8026/labels{/name}","comments_url":"https://api.github.com/repos/django/django/issues/8026/comments","events_url":"https://api.github.com/repos/django/django/issues/8026/events","html_url":"https://github.com/django/django/pull/8026","id":205594871,"number":8026,"title":"Fixed #27810 - allow query expressions in admin_order_field.","user":{"login":"pelme","id":20529,"avatar_url":"https://avatars.githubusercontent.com/u/20529?v=3","gravatar_id":"","url":"https://api.github.com/users/pelme","html_url":"https://github.com/pelme","followers_url":"https://api.github.com/users/pelme/followers","following_url":"https://api.github.com/users/pelme/following{/other_user}","gists_url":"https://api.github.com/users/pelme/gists{/gist_id}","starred_url":"https://api.github.com/users/pelme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelme/subscriptions","organizations_url":"https://api.github.com/users/pelme/orgs","repos_url":"https://api.github.com/users/pelme/repos","events_url":"https://api.github.com/users/pelme/events{/privacy}","received_events_url":"https://api.github.com/users/pelme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-06T14:12:11Z","updated_at":"2017-02-06T15:34:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/8026","html_url":"https://github.com/django/django/pull/8026","diff_url":"https://github.com/django/django/pull/8026.diff","patch_url":"https://github.com/django/django/pull/8026.patch"},"body":"This commit makes the admin handle query expression objects properly as specified by admin_order_field.\r\n\r\nTicket link: https://code.djangoproject.com/ticket/27810"},"comment":{"url":"https://api.github.com/repos/django/django/issues/comments/277718238","html_url":"https://github.com/django/django/pull/8026#issuecomment-277718238","issue_url":"https://api.github.com/repos/django/django/issues/8026","id":277718238,"user":{"login":"pelme","id":20529,"avatar_url":"https://avatars.githubusercontent.com/u/20529?v=3","gravatar_id":"","url":"https://api.github.com/users/pelme","html_url":"https://github.com/pelme","followers_url":"https://api.github.com/users/pelme/followers","following_url":"https://api.github.com/users/pelme/following{/other_user}","gists_url":"https://api.github.com/users/pelme/gists{/gist_id}","starred_url":"https://api.github.com/users/pelme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelme/subscriptions","organizations_url":"https://api.github.com/users/pelme/orgs","repos_url":"https://api.github.com/users/pelme/repos","events_url":"https://api.github.com/users/pelme/events{/privacy}","received_events_url":"https://api.github.com/users/pelme/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T15:34:07Z","updated_at":"2017-02-06T15:34:07Z","body":"@charettes I see, very nice! (I will use this right now in my Django 1.10 project instead of patching Django, thanks!)\r\n\r\nI think still the point stands about making `admin_order_field` behave the same as `.order_by()` to make it more straightforward.\r\n\r\nIf you think this is not worth the (slightly) added complexity this change brings, I can provide a new PR that just documents your example."}}
{"actor":{"display_login":"pelme"}}