{"action":"created","comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/comments/28945923","id":28945923,"diff_hunk":"@@ -106,17 +105,20 @@ def __getstate__(self):\n         return dict(self)\n \n \n-class SortedDictWithMetadata(SortedDict):\n+class OrderedDictWithMetadata(OrderedDict):","path":"rest_framework/serializers.py","position":21,"original_position":21,"commit_id":"18f1f5784669a026c3c68b6ab7428854a5f9d061","original_commit_id":"18f1f5784669a026c3c68b6ab7428854a5f9d061","user":{"login":"tomchristie","id":647359,"avatar_url":"https://avatars.githubusercontent.com/u/647359?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"body":"we may as well leave the name of our class the same.\r\nsmaller change footprint, less chance of breaking existing projects.","created_at":"2015-04-23T08:46:35Z","updated_at":"2015-04-23T08:46:35Z","html_url":"https://github.com/tomchristie/django-rest-framework/pull/2858#discussion_r28945923","pull_request_url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858","_links":{"self":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/comments/28945923"},"html":{"href":"https://github.com/tomchristie/django-rest-framework/pull/2858#discussion_r28945923"},"pull_request":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858"}}},"pull_request":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858","id":33829405,"html_url":"https://github.com/tomchristie/django-rest-framework/pull/2858","diff_url":"https://github.com/tomchristie/django-rest-framework/pull/2858.diff","patch_url":"https://github.com/tomchristie/django-rest-framework/pull/2858.patch","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2858","number":2858,"state":"open","locked":false,"title":"change SortedDict to OrderedDict + fix list and tuple concatination","user":{"login":"kazmiruk","id":4045006,"avatar_url":"https://avatars.githubusercontent.com/u/4045006?v=3","gravatar_id":"","url":"https://api.github.com/users/kazmiruk","html_url":"https://github.com/kazmiruk","followers_url":"https://api.github.com/users/kazmiruk/followers","following_url":"https://api.github.com/users/kazmiruk/following{/other_user}","gists_url":"https://api.github.com/users/kazmiruk/gists{/gist_id}","starred_url":"https://api.github.com/users/kazmiruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazmiruk/subscriptions","organizations_url":"https://api.github.com/users/kazmiruk/orgs","repos_url":"https://api.github.com/users/kazmiruk/repos","events_url":"https://api.github.com/users/kazmiruk/events{/privacy}","received_events_url":"https://api.github.com/users/kazmiruk/received_events","type":"User","site_admin":false},"body":"I need to support django-rest-framework on django 1.8 a little bit more, but there are some errors and irritating warnings. This PR fixes error and changes deprecated SortedDict to OrderedDict (as I seen you are not using something special from SortedDict which not compatible with OrderedDict)","created_at":"2015-04-22T06:27:16Z","updated_at":"2015-04-23T08:46:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7458e14ccd3fd7d339b47952e0c70306826d13b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858/commits","review_comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858/comments","review_comment_url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2858/comments","statuses_url":"https://api.github.com/repos/tomchristie/django-rest-framework/statuses/18f1f5784669a026c3c68b6ab7428854a5f9d061","head":{"label":"kazmiruk:version-2.4.x","ref":"version-2.4.x","sha":"18f1f5784669a026c3c68b6ab7428854a5f9d061","user":{"login":"kazmiruk","id":4045006,"avatar_url":"https://avatars.githubusercontent.com/u/4045006?v=3","gravatar_id":"","url":"https://api.github.com/users/kazmiruk","html_url":"https://github.com/kazmiruk","followers_url":"https://api.github.com/users/kazmiruk/followers","following_url":"https://api.github.com/users/kazmiruk/following{/other_user}","gists_url":"https://api.github.com/users/kazmiruk/gists{/gist_id}","starred_url":"https://api.github.com/users/kazmiruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazmiruk/subscriptions","organizations_url":"https://api.github.com/users/kazmiruk/orgs","repos_url":"https://api.github.com/users/kazmiruk/repos","events_url":"https://api.github.com/users/kazmiruk/events{/privacy}","received_events_url":"https://api.github.com/users/kazmiruk/received_events","type":"User","site_admin":false},"repo":{"id":34371390,"name":"django-rest-framework","full_name":"kazmiruk/django-rest-framework","owner":{"login":"kazmiruk","id":4045006,"avatar_url":"https://avatars.githubusercontent.com/u/4045006?v=3","gravatar_id":"","url":"https://api.github.com/users/kazmiruk","html_url":"https://github.com/kazmiruk","followers_url":"https://api.github.com/users/kazmiruk/followers","following_url":"https://api.github.com/users/kazmiruk/following{/other_user}","gists_url":"https://api.github.com/users/kazmiruk/gists{/gist_id}","starred_url":"https://api.github.com/users/kazmiruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazmiruk/subscriptions","organizations_url":"https://api.github.com/users/kazmiruk/orgs","repos_url":"https://api.github.com/users/kazmiruk/repos","events_url":"https://api.github.com/users/kazmiruk/events{/privacy}","received_events_url":"https://api.github.com/users/kazmiruk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kazmiruk/django-rest-framework","description":"Web APIs for Django.","fork":true,"url":"https://api.github.com/repos/kazmiruk/django-rest-framework","forks_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/forks","keys_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/teams","hooks_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/hooks","issue_events_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/issues/events{/number}","events_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/events","assignees_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/assignees{/user}","branches_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/branches{/branch}","tags_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/tags","blobs_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/languages","stargazers_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/stargazers","contributors_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/contributors","subscribers_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/subscribers","subscription_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/subscription","commits_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/contents/{+path}","compare_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/merges","archive_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/downloads","issues_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/issues{/number}","pulls_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/labels{/name}","releases_url":"https://api.github.com/repos/kazmiruk/django-rest-framework/releases{/id}","created_at":"2015-04-22T05:47:15Z","updated_at":"2015-04-22T05:47:17Z","pushed_at":"2015-04-22T13:58:25Z","git_url":"git://github.com/kazmiruk/django-rest-framework.git","ssh_url":"git@github.com:kazmiruk/django-rest-framework.git","clone_url":"https://github.com/kazmiruk/django-rest-framework.git","svn_url":"https://github.com/kazmiruk/django-rest-framework","homepage":"www.django-rest-framework.org","size":33317,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tomchristie:version-2.4.x","ref":"version-2.4.x","sha":"601b2241c9d5e6f20f9baefc8ada67cf55d191b4","user":{"login":"tomchristie","id":647359,"avatar_url":"https://avatars.githubusercontent.com/u/647359?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"repo":{"id":1431547,"name":"django-rest-framework","full_name":"tomchristie/django-rest-framework","owner":{"login":"tomchristie","id":647359,"avatar_url":"https://avatars.githubusercontent.com/u/647359?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomchristie/django-rest-framework","description":"Web APIs for Django.","fork":false,"url":"https://api.github.com/repos/tomchristie/django-rest-framework","forks_url":"https://api.github.com/repos/tomchristie/django-rest-framework/forks","keys_url":"https://api.github.com/repos/tomchristie/django-rest-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomchristie/django-rest-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomchristie/django-rest-framework/teams","hooks_url":"https://api.github.com/repos/tomchristie/django-rest-framework/hooks","issue_events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/events{/number}","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/events","assignees_url":"https://api.github.com/repos/tomchristie/django-rest-framework/assignees{/user}","branches_url":"https://api.github.com/repos/tomchristie/django-rest-framework/branches{/branch}","tags_url":"https://api.github.com/repos/tomchristie/django-rest-framework/tags","blobs_url":"https://api.github.com/repos/tomchristie/django-rest-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomchristie/django-rest-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomchristie/django-rest-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomchristie/django-rest-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomchristie/django-rest-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/tomchristie/django-rest-framework/languages","stargazers_url":"https://api.github.com/repos/tomchristie/django-rest-framework/stargazers","contributors_url":"https://api.github.com/repos/tomchristie/django-rest-framework/contributors","subscribers_url":"https://api.github.com/repos/tomchristie/django-rest-framework/subscribers","subscription_url":"https://api.github.com/repos/tomchristie/django-rest-framework/subscription","commits_url":"https://api.github.com/repos/tomchristie/django-rest-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomchristie/django-rest-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomchristie/django-rest-framework/contents/{+path}","compare_url":"https://api.github.com/repos/tomchristie/django-rest-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomchristie/django-rest-framework/merges","archive_url":"https://api.github.com/repos/tomchristie/django-rest-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomchristie/django-rest-framework/downloads","issues_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues{/number}","pulls_url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/tomchristie/django-rest-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/tomchristie/django-rest-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/labels{/name}","releases_url":"https://api.github.com/repos/tomchristie/django-rest-framework/releases{/id}","created_at":"2011-03-02T17:13:56Z","updated_at":"2015-04-23T08:44:33Z","pushed_at":"2015-04-23T08:44:32Z","git_url":"git://github.com/tomchristie/django-rest-framework.git","ssh_url":"git@github.com:tomchristie/django-rest-framework.git","clone_url":"https://github.com/tomchristie/django-rest-framework.git","svn_url":"https://github.com/tomchristie/django-rest-framework","homepage":"www.django-rest-framework.org","size":33317,"stargazers_count":3915,"watchers_count":3915,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1212,"mirror_url":null,"open_issues_count":140,"forks":1212,"open_issues":140,"watchers":3915,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858"},"html":{"href":"https://github.com/tomchristie/django-rest-framework/pull/2858"},"issue":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2858"},"comments":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2858/comments"},"review_comments":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858/comments"},"review_comment":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/2858/commits"},"statuses":{"href":"https://api.github.com/repos/tomchristie/django-rest-framework/statuses/18f1f5784669a026c3c68b6ab7428854a5f9d061"}}}}