{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/61428513","id":61428513,"diff_hunk":"@@ -1,55 +1,34 @@\n-#!/usr/bin/env python\n-# -*- coding: utf-8 -*-\n+from __future__ import absolute_import\n \n+from operator import attrgetter\n \n-from __future__ import unicode_literals, print_function, absolute_import\n-\n-from django.apps import apps\n-from django.conf import settings\n-from django.db.migrations.autodetector import MigrationAutodetector\n-from django.db.migrations.loader import MigrationLoader\n-from django.db.models.deletion import CASCADE\n from django.test.testcases import TestCase\n-from .models import Customer, Contact, PhoneNumber, Address\n \n+from .models import Address, Contact, Customer\n \n \n class TestLookupQuery(TestCase):\n-    fixtures = [\"customers.json\"]","path":"tests/foreign_object/test_agnostic_order_trimjoin.py","position":null,"original_position":21,"commit_id":"ecb79fd3802886e6982337c555b57ebecaad4009","original_commit_id":"4ba044a6ffb835434247e7ef4377f6dc72565272","user":{"login":"ornoone","id":5380232,"avatar_url":"https://avatars.githubusercontent.com/u/5380232?v=3","gravatar_id":"","url":"https://api.github.com/users/ornoone","html_url":"https://github.com/ornoone","followers_url":"https://api.github.com/users/ornoone/followers","following_url":"https://api.github.com/users/ornoone/following{/other_user}","gists_url":"https://api.github.com/users/ornoone/gists{/gist_id}","starred_url":"https://api.github.com/users/ornoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornoone/subscriptions","organizations_url":"https://api.github.com/users/ornoone/orgs","repos_url":"https://api.github.com/users/ornoone/repos","events_url":"https://api.github.com/users/ornoone/events{/privacy}","received_events_url":"https://api.github.com/users/ornoone/received_events","type":"User","site_admin":false},"body":"removed all no specific tests and fixtures.","created_at":"2016-04-28T13:43:17Z","updated_at":"2016-04-28T13:43:17Z","html_url":"https://github.com/django/django/pull/6473#discussion_r61428513","pull_request_url":"https://api.github.com/repos/django/django/pulls/6473","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/61428513"},"html":{"href":"https://github.com/django/django/pull/6473#discussion_r61428513"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/6473"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/6473","id":66881031,"html_url":"https://github.com/django/django/pull/6473","diff_url":"https://github.com/django/django/pull/6473.diff","patch_url":"https://github.com/django/django/pull/6473.patch","issue_url":"https://api.github.com/repos/django/django/issues/6473","number":6473,"state":"open","locked":false,"title":"Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects.","user":{"login":"ornoone","id":5380232,"avatar_url":"https://avatars.githubusercontent.com/u/5380232?v=3","gravatar_id":"","url":"https://api.github.com/users/ornoone","html_url":"https://github.com/ornoone","followers_url":"https://api.github.com/users/ornoone/followers","following_url":"https://api.github.com/users/ornoone/following{/other_user}","gists_url":"https://api.github.com/users/ornoone/gists{/gist_id}","starred_url":"https://api.github.com/users/ornoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornoone/subscriptions","organizations_url":"https://api.github.com/users/ornoone/orgs","repos_url":"https://api.github.com/users/ornoone/repos","events_url":"https://api.github.com/users/ornoone/events{/privacy}","received_events_url":"https://api.github.com/users/ornoone/received_events","type":"User","site_admin":false},"body":"fixed Query.trim_joins to make sure the order in the targets is consistent\r\non each step of the optimisation of the join.","created_at":"2016-04-18T16:16:43Z","updated_at":"2016-04-28T13:43:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e82512976fff67abaedbd49d6903d35c9d91dad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/6473/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/6473/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/6473/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/ecb79fd3802886e6982337c555b57ebecaad4009","head":{"label":"ornoone:ticket_26515","ref":"ticket_26515","sha":"ecb79fd3802886e6982337c555b57ebecaad4009","user":{"login":"ornoone","id":5380232,"avatar_url":"https://avatars.githubusercontent.com/u/5380232?v=3","gravatar_id":"","url":"https://api.github.com/users/ornoone","html_url":"https://github.com/ornoone","followers_url":"https://api.github.com/users/ornoone/followers","following_url":"https://api.github.com/users/ornoone/following{/other_user}","gists_url":"https://api.github.com/users/ornoone/gists{/gist_id}","starred_url":"https://api.github.com/users/ornoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornoone/subscriptions","organizations_url":"https://api.github.com/users/ornoone/orgs","repos_url":"https://api.github.com/users/ornoone/repos","events_url":"https://api.github.com/users/ornoone/events{/privacy}","received_events_url":"https://api.github.com/users/ornoone/received_events","type":"User","site_admin":false},"repo":{"id":56505822,"name":"django","full_name":"ornoone/django","owner":{"login":"ornoone","id":5380232,"avatar_url":"https://avatars.githubusercontent.com/u/5380232?v=3","gravatar_id":"","url":"https://api.github.com/users/ornoone","html_url":"https://github.com/ornoone","followers_url":"https://api.github.com/users/ornoone/followers","following_url":"https://api.github.com/users/ornoone/following{/other_user}","gists_url":"https://api.github.com/users/ornoone/gists{/gist_id}","starred_url":"https://api.github.com/users/ornoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornoone/subscriptions","organizations_url":"https://api.github.com/users/ornoone/orgs","repos_url":"https://api.github.com/users/ornoone/repos","events_url":"https://api.github.com/users/ornoone/events{/privacy}","received_events_url":"https://api.github.com/users/ornoone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ornoone/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/ornoone/django","forks_url":"https://api.github.com/repos/ornoone/django/forks","keys_url":"https://api.github.com/repos/ornoone/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ornoone/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ornoone/django/teams","hooks_url":"https://api.github.com/repos/ornoone/django/hooks","issue_events_url":"https://api.github.com/repos/ornoone/django/issues/events{/number}","events_url":"https://api.github.com/repos/ornoone/django/events","assignees_url":"https://api.github.com/repos/ornoone/django/assignees{/user}","branches_url":"https://api.github.com/repos/ornoone/django/branches{/branch}","tags_url":"https://api.github.com/repos/ornoone/django/tags","blobs_url":"https://api.github.com/repos/ornoone/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ornoone/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ornoone/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/ornoone/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ornoone/django/statuses/{sha}","languages_url":"https://api.github.com/repos/ornoone/django/languages","stargazers_url":"https://api.github.com/repos/ornoone/django/stargazers","contributors_url":"https://api.github.com/repos/ornoone/django/contributors","subscribers_url":"https://api.github.com/repos/ornoone/django/subscribers","subscription_url":"https://api.github.com/repos/ornoone/django/subscription","commits_url":"https://api.github.com/repos/ornoone/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/ornoone/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/ornoone/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/ornoone/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/ornoone/django/contents/{+path}","compare_url":"https://api.github.com/repos/ornoone/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ornoone/django/merges","archive_url":"https://api.github.com/repos/ornoone/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ornoone/django/downloads","issues_url":"https://api.github.com/repos/ornoone/django/issues{/number}","pulls_url":"https://api.github.com/repos/ornoone/django/pulls{/number}","milestones_url":"https://api.github.com/repos/ornoone/django/milestones{/number}","notifications_url":"https://api.github.com/repos/ornoone/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ornoone/django/labels{/name}","releases_url":"https://api.github.com/repos/ornoone/django/releases{/id}","deployments_url":"https://api.github.com/repos/ornoone/django/deployments","created_at":"2016-04-18T12:26:45Z","updated_at":"2016-04-18T12:27:02Z","pushed_at":"2016-04-28T13:34:13Z","git_url":"git://github.com/ornoone/django.git","ssh_url":"git@github.com:ornoone/django.git","clone_url":"https://github.com/ornoone/django.git","svn_url":"https://github.com/ornoone/django","homepage":"https://www.djangoproject.com/","size":132050,"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":"d3c87a2425b30400c3e6ea76585a9a537b6d0386","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-04-28T13:39:59Z","pushed_at":"2016-04-28T13:34:14Z","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":186048,"stargazers_count":19177,"watchers_count":19177,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7734,"mirror_url":null,"open_issues_count":90,"forks":7734,"open_issues":90,"watchers":19177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/6473"},"html":{"href":"https://github.com/django/django/pull/6473"},"issue":{"href":"https://api.github.com/repos/django/django/issues/6473"},"comments":{"href":"https://api.github.com/repos/django/django/issues/6473/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/6473/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/6473/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/ecb79fd3802886e6982337c555b57ebecaad4009"}}}}