{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2863","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2863/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2863/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2863/events","html_url":"https://github.com/tomchristie/django-rest-framework/pull/2863","id":70056539,"number":2863,"title":"Tell DjangoModelPermissions to rely on get_queryset first.","user":{"login":"ticosax","id":1174343,"avatar_url":"https://avatars.githubusercontent.com/u/1174343?v=3","gravatar_id":"","url":"https://api.github.com/users/ticosax","html_url":"https://github.com/ticosax","followers_url":"https://api.github.com/users/ticosax/followers","following_url":"https://api.github.com/users/ticosax/following{/other_user}","gists_url":"https://api.github.com/users/ticosax/gists{/gist_id}","starred_url":"https://api.github.com/users/ticosax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticosax/subscriptions","organizations_url":"https://api.github.com/users/ticosax/orgs","repos_url":"https://api.github.com/users/ticosax/repos","events_url":"https://api.github.com/users/ticosax/events{/privacy}","received_events_url":"https://api.github.com/users/ticosax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-22T08:22:35Z","updated_at":"2015-04-22T08:51:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2863","html_url":"https://github.com/tomchristie/django-rest-framework/pull/2863","diff_url":"https://github.com/tomchristie/django-rest-framework/pull/2863.diff","patch_url":"https://github.com/tomchristie/django-rest-framework/pull/2863.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/95080702","html_url":"https://github.com/tomchristie/django-rest-framework/pull/2863#issuecomment-95080702","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2863","id":95080702,"user":{"login":"ticosax","id":1174343,"avatar_url":"https://avatars.githubusercontent.com/u/1174343?v=3","gravatar_id":"","url":"https://api.github.com/users/ticosax","html_url":"https://github.com/ticosax","followers_url":"https://api.github.com/users/ticosax/followers","following_url":"https://api.github.com/users/ticosax/following{/other_user}","gists_url":"https://api.github.com/users/ticosax/gists{/gist_id}","starred_url":"https://api.github.com/users/ticosax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticosax/subscriptions","organizations_url":"https://api.github.com/users/ticosax/orgs","repos_url":"https://api.github.com/users/ticosax/repos","events_url":"https://api.github.com/users/ticosax/events{/privacy}","received_events_url":"https://api.github.com/users/ticosax/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T08:51:57Z","updated_at":"2015-04-22T08:51:57Z","body":"@carltongibson sure.\r\nViews allow to override the behavior of `.queryset` with `get_queryset()`. This pull request make sure that DjangoModelPermissions follows the same logic, get the `queryset` first from `get_queryset()`."}}