{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/dym/django-offline-messages/pulls/26","id":51834251,"html_url":"https://github.com/dym/django-offline-messages/pull/26","diff_url":"https://github.com/dym/django-offline-messages/pull/26.diff","patch_url":"https://github.com/dym/django-offline-messages/pull/26.patch","issue_url":"https://api.github.com/repos/dym/django-offline-messages/issues/26","number":26,"state":"open","locked":false,"title":"Fix django.contrib.contenttypes.generic import shim removed in Django 1.9","user":{"login":"nealtodd","id":298652,"avatar_url":"https://avatars.githubusercontent.com/u/298652?v=3","gravatar_id":"","url":"https://api.github.com/users/nealtodd","html_url":"https://github.com/nealtodd","followers_url":"https://api.github.com/users/nealtodd/followers","following_url":"https://api.github.com/users/nealtodd/following{/other_user}","gists_url":"https://api.github.com/users/nealtodd/gists{/gist_id}","starred_url":"https://api.github.com/users/nealtodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealtodd/subscriptions","organizations_url":"https://api.github.com/users/nealtodd/orgs","repos_url":"https://api.github.com/users/nealtodd/repos","events_url":"https://api.github.com/users/nealtodd/events{/privacy}","received_events_url":"https://api.github.com/users/nealtodd/received_events","type":"User","site_admin":false},"body":"Django 1.9 removes the deprecated import shim that was in `django.contrib.contenttypes.generic` for Django 1.7 and 1.8 (i.e. generic.py no longer exists). This PR changes the import path for `GenericForeignKey` to `django.contrib.contenttypes.fields` for Django >= 1.7, and remains compatible with Django < 1.7.\r\n\r\n(Django 1.9 is due to be released on 1 December.)","created_at":"2015-11-25T19:05:22Z","updated_at":"2015-11-25T19:05:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dym/django-offline-messages/pulls/26/commits","review_comments_url":"https://api.github.com/repos/dym/django-offline-messages/pulls/26/comments","review_comment_url":"https://api.github.com/repos/dym/django-offline-messages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dym/django-offline-messages/issues/26/comments","statuses_url":"https://api.github.com/repos/dym/django-offline-messages/statuses/4289ddeff57f27eb88526db866814e69375ed01f","head":{"label":"nealtodd:django19_contenttypes_import","ref":"django19_contenttypes_import","sha":"4289ddeff57f27eb88526db866814e69375ed01f","user":{"login":"nealtodd","id":298652,"avatar_url":"https://avatars.githubusercontent.com/u/298652?v=3","gravatar_id":"","url":"https://api.github.com/users/nealtodd","html_url":"https://github.com/nealtodd","followers_url":"https://api.github.com/users/nealtodd/followers","following_url":"https://api.github.com/users/nealtodd/following{/other_user}","gists_url":"https://api.github.com/users/nealtodd/gists{/gist_id}","starred_url":"https://api.github.com/users/nealtodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealtodd/subscriptions","organizations_url":"https://api.github.com/users/nealtodd/orgs","repos_url":"https://api.github.com/users/nealtodd/repos","events_url":"https://api.github.com/users/nealtodd/events{/privacy}","received_events_url":"https://api.github.com/users/nealtodd/received_events","type":"User","site_admin":false},"repo":{"id":46880179,"name":"django-offline-messages","full_name":"nealtodd/django-offline-messages","owner":{"login":"nealtodd","id":298652,"avatar_url":"https://avatars.githubusercontent.com/u/298652?v=3","gravatar_id":"","url":"https://api.github.com/users/nealtodd","html_url":"https://github.com/nealtodd","followers_url":"https://api.github.com/users/nealtodd/followers","following_url":"https://api.github.com/users/nealtodd/following{/other_user}","gists_url":"https://api.github.com/users/nealtodd/gists{/gist_id}","starred_url":"https://api.github.com/users/nealtodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealtodd/subscriptions","organizations_url":"https://api.github.com/users/nealtodd/orgs","repos_url":"https://api.github.com/users/nealtodd/repos","events_url":"https://api.github.com/users/nealtodd/events{/privacy}","received_events_url":"https://api.github.com/users/nealtodd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nealtodd/django-offline-messages","description":"Offline messages for Django Web Framework","fork":true,"url":"https://api.github.com/repos/nealtodd/django-offline-messages","forks_url":"https://api.github.com/repos/nealtodd/django-offline-messages/forks","keys_url":"https://api.github.com/repos/nealtodd/django-offline-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nealtodd/django-offline-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nealtodd/django-offline-messages/teams","hooks_url":"https://api.github.com/repos/nealtodd/django-offline-messages/hooks","issue_events_url":"https://api.github.com/repos/nealtodd/django-offline-messages/issues/events{/number}","events_url":"https://api.github.com/repos/nealtodd/django-offline-messages/events","assignees_url":"https://api.github.com/repos/nealtodd/django-offline-messages/assignees{/user}","branches_url":"https://api.github.com/repos/nealtodd/django-offline-messages/branches{/branch}","tags_url":"https://api.github.com/repos/nealtodd/django-offline-messages/tags","blobs_url":"https://api.github.com/repos/nealtodd/django-offline-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nealtodd/django-offline-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nealtodd/django-offline-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/nealtodd/django-offline-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nealtodd/django-offline-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/nealtodd/django-offline-messages/languages","stargazers_url":"https://api.github.com/repos/nealtodd/django-offline-messages/stargazers","contributors_url":"https://api.github.com/repos/nealtodd/django-offline-messages/contributors","subscribers_url":"https://api.github.com/repos/nealtodd/django-offline-messages/subscribers","subscription_url":"https://api.github.com/repos/nealtodd/django-offline-messages/subscription","commits_url":"https://api.github.com/repos/nealtodd/django-offline-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/nealtodd/django-offline-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/nealtodd/django-offline-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/nealtodd/django-offline-messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/nealtodd/django-offline-messages/contents/{+path}","compare_url":"https://api.github.com/repos/nealtodd/django-offline-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nealtodd/django-offline-messages/merges","archive_url":"https://api.github.com/repos/nealtodd/django-offline-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nealtodd/django-offline-messages/downloads","issues_url":"https://api.github.com/repos/nealtodd/django-offline-messages/issues{/number}","pulls_url":"https://api.github.com/repos/nealtodd/django-offline-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/nealtodd/django-offline-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/nealtodd/django-offline-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nealtodd/django-offline-messages/labels{/name}","releases_url":"https://api.github.com/repos/nealtodd/django-offline-messages/releases{/id}","created_at":"2015-11-25T18:47:19Z","updated_at":"2015-11-25T18:47:20Z","pushed_at":"2015-11-25T19:00:55Z","git_url":"git://github.com/nealtodd/django-offline-messages.git","ssh_url":"git@github.com:nealtodd/django-offline-messages.git","clone_url":"https://github.com/nealtodd/django-offline-messages.git","svn_url":"https://github.com/nealtodd/django-offline-messages","homepage":"https://github.com/dym/django-offline-messages","size":47,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dym:master","ref":"master","sha":"b7ed379f2def8aabc5160754f71e75c20c5ae7f0","user":{"login":"dym","id":158791,"avatar_url":"https://avatars.githubusercontent.com/u/158791?v=3","gravatar_id":"","url":"https://api.github.com/users/dym","html_url":"https://github.com/dym","followers_url":"https://api.github.com/users/dym/followers","following_url":"https://api.github.com/users/dym/following{/other_user}","gists_url":"https://api.github.com/users/dym/gists{/gist_id}","starred_url":"https://api.github.com/users/dym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dym/subscriptions","organizations_url":"https://api.github.com/users/dym/orgs","repos_url":"https://api.github.com/users/dym/repos","events_url":"https://api.github.com/users/dym/events{/privacy}","received_events_url":"https://api.github.com/users/dym/received_events","type":"User","site_admin":false},"repo":{"id":1216974,"name":"django-offline-messages","full_name":"dym/django-offline-messages","owner":{"login":"dym","id":158791,"avatar_url":"https://avatars.githubusercontent.com/u/158791?v=3","gravatar_id":"","url":"https://api.github.com/users/dym","html_url":"https://github.com/dym","followers_url":"https://api.github.com/users/dym/followers","following_url":"https://api.github.com/users/dym/following{/other_user}","gists_url":"https://api.github.com/users/dym/gists{/gist_id}","starred_url":"https://api.github.com/users/dym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dym/subscriptions","organizations_url":"https://api.github.com/users/dym/orgs","repos_url":"https://api.github.com/users/dym/repos","events_url":"https://api.github.com/users/dym/events{/privacy}","received_events_url":"https://api.github.com/users/dym/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dym/django-offline-messages","description":"Offline messages for Django Web Framework","fork":false,"url":"https://api.github.com/repos/dym/django-offline-messages","forks_url":"https://api.github.com/repos/dym/django-offline-messages/forks","keys_url":"https://api.github.com/repos/dym/django-offline-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dym/django-offline-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dym/django-offline-messages/teams","hooks_url":"https://api.github.com/repos/dym/django-offline-messages/hooks","issue_events_url":"https://api.github.com/repos/dym/django-offline-messages/issues/events{/number}","events_url":"https://api.github.com/repos/dym/django-offline-messages/events","assignees_url":"https://api.github.com/repos/dym/django-offline-messages/assignees{/user}","branches_url":"https://api.github.com/repos/dym/django-offline-messages/branches{/branch}","tags_url":"https://api.github.com/repos/dym/django-offline-messages/tags","blobs_url":"https://api.github.com/repos/dym/django-offline-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dym/django-offline-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dym/django-offline-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/dym/django-offline-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dym/django-offline-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/dym/django-offline-messages/languages","stargazers_url":"https://api.github.com/repos/dym/django-offline-messages/stargazers","contributors_url":"https://api.github.com/repos/dym/django-offline-messages/contributors","subscribers_url":"https://api.github.com/repos/dym/django-offline-messages/subscribers","subscription_url":"https://api.github.com/repos/dym/django-offline-messages/subscription","commits_url":"https://api.github.com/repos/dym/django-offline-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/dym/django-offline-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/dym/django-offline-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/dym/django-offline-messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/dym/django-offline-messages/contents/{+path}","compare_url":"https://api.github.com/repos/dym/django-offline-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dym/django-offline-messages/merges","archive_url":"https://api.github.com/repos/dym/django-offline-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dym/django-offline-messages/downloads","issues_url":"https://api.github.com/repos/dym/django-offline-messages/issues{/number}","pulls_url":"https://api.github.com/repos/dym/django-offline-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/dym/django-offline-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/dym/django-offline-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dym/django-offline-messages/labels{/name}","releases_url":"https://api.github.com/repos/dym/django-offline-messages/releases{/id}","created_at":"2011-01-03T17:35:14Z","updated_at":"2015-02-20T11:24:12Z","pushed_at":"2015-08-22T08:13:17Z","git_url":"git://github.com/dym/django-offline-messages.git","ssh_url":"git@github.com:dym/django-offline-messages.git","clone_url":"https://github.com/dym/django-offline-messages.git","svn_url":"https://github.com/dym/django-offline-messages","homepage":"https://github.com/dym/django-offline-messages","size":263,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":2,"forks":22,"open_issues":2,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dym/django-offline-messages/pulls/26"},"html":{"href":"https://github.com/dym/django-offline-messages/pull/26"},"issue":{"href":"https://api.github.com/repos/dym/django-offline-messages/issues/26"},"comments":{"href":"https://api.github.com/repos/dym/django-offline-messages/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/dym/django-offline-messages/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/dym/django-offline-messages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dym/django-offline-messages/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/dym/django-offline-messages/statuses/4289ddeff57f27eb88526db866814e69375ed01f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}