{"action":"created","comment":{"url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/comments/25821144","id":25821144,"diff_hunk":"@@ -0,0 +1,20 @@\n+import django\n+\n+\n+def check_if_field_name_exists_on_cls(field_name, cls):\n+    \"\"\"\n+    Check if a field is already present on a model in a `safe` manner that does\n+    not trigger or violate application loading.\n+    \"\"\"\n+    if django.get_version() < \"1.7\":","path":"widgy/compat.py","position":9,"original_position":9,"commit_id":"0797c6a31aa5210fc20486708b7b44b05f15e20d","original_commit_id":"0797c6a31aa5210fc20486708b7b44b05f15e20d","user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"body":"Cool, I was sort of remembering that there was a case where this didn't work but I couldn't figure out what it was.","created_at":"2015-03-04T22:28:13Z","updated_at":"2015-03-04T22:28:13Z","html_url":"https://github.com/fusionbox/django-widgy/pull/293#discussion_r25821144","pull_request_url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293","_links":{"self":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/comments/25821144"},"html":{"href":"https://github.com/fusionbox/django-widgy/pull/293#discussion_r25821144"},"pull_request":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293","id":27117974,"html_url":"https://github.com/fusionbox/django-widgy/pull/293","diff_url":"https://github.com/fusionbox/django-widgy/pull/293.diff","patch_url":"https://github.com/fusionbox/django-widgy/pull/293.patch","issue_url":"https://api.github.com/repos/fusionbox/django-widgy/issues/293","number":293,"state":"open","locked":false,"title":"Test against Django 1.7","user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"body":"### What is the problem / feature ?\r\n\r\nIt would be nice to know that `django-widgy` will work with Django 1.7\r\n\r\n### How did it get fixed / implemented ?\r\n\r\n- Added tests for 1.7 to the `travis.yml` matrix.\r\n- Added call to `django.setup()` in `runtests.py` to load the app registry.\r\n\r\n### How can someone test / see it ?\r\n\r\nTake a look at travis or run the tests locally.\r\n\r\n\r\n*Here is a cute animal picture for your troubles...*\r\n\r\n![baby turtle perches on top of succulent strawberry twice his size on fruit farm 1](https://cloud.githubusercontent.com/assets/824194/5684687/32e3673c-97f0-11e4-98c9-d5d0c8243807.jpg)\r\n","created_at":"2015-01-09T18:11:09Z","updated_at":"2015-03-04T22:28:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65d01cef49e5e94a09fa925c5dd4850aee6eacc2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293/commits","review_comments_url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293/comments","review_comment_url":"https://api.github.com/repos/fusionbox/django-widgy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusionbox/django-widgy/issues/293/comments","statuses_url":"https://api.github.com/repos/fusionbox/django-widgy/statuses/0797c6a31aa5210fc20486708b7b44b05f15e20d","head":{"label":"pipermerriam:piper/django-1.7","ref":"piper/django-1.7","sha":"0797c6a31aa5210fc20486708b7b44b05f15e20d","user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"repo":{"id":29026772,"name":"django-widgy","full_name":"pipermerriam/django-widgy","owner":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pipermerriam/django-widgy","description":"A CMS framework for Django built on a heterogenous tree editor.","fork":true,"url":"https://api.github.com/repos/pipermerriam/django-widgy","forks_url":"https://api.github.com/repos/pipermerriam/django-widgy/forks","keys_url":"https://api.github.com/repos/pipermerriam/django-widgy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pipermerriam/django-widgy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pipermerriam/django-widgy/teams","hooks_url":"https://api.github.com/repos/pipermerriam/django-widgy/hooks","issue_events_url":"https://api.github.com/repos/pipermerriam/django-widgy/issues/events{/number}","events_url":"https://api.github.com/repos/pipermerriam/django-widgy/events","assignees_url":"https://api.github.com/repos/pipermerriam/django-widgy/assignees{/user}","branches_url":"https://api.github.com/repos/pipermerriam/django-widgy/branches{/branch}","tags_url":"https://api.github.com/repos/pipermerriam/django-widgy/tags","blobs_url":"https://api.github.com/repos/pipermerriam/django-widgy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pipermerriam/django-widgy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pipermerriam/django-widgy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pipermerriam/django-widgy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pipermerriam/django-widgy/statuses/{sha}","languages_url":"https://api.github.com/repos/pipermerriam/django-widgy/languages","stargazers_url":"https://api.github.com/repos/pipermerriam/django-widgy/stargazers","contributors_url":"https://api.github.com/repos/pipermerriam/django-widgy/contributors","subscribers_url":"https://api.github.com/repos/pipermerriam/django-widgy/subscribers","subscription_url":"https://api.github.com/repos/pipermerriam/django-widgy/subscription","commits_url":"https://api.github.com/repos/pipermerriam/django-widgy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pipermerriam/django-widgy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pipermerriam/django-widgy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pipermerriam/django-widgy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pipermerriam/django-widgy/contents/{+path}","compare_url":"https://api.github.com/repos/pipermerriam/django-widgy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pipermerriam/django-widgy/merges","archive_url":"https://api.github.com/repos/pipermerriam/django-widgy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pipermerriam/django-widgy/downloads","issues_url":"https://api.github.com/repos/pipermerriam/django-widgy/issues{/number}","pulls_url":"https://api.github.com/repos/pipermerriam/django-widgy/pulls{/number}","milestones_url":"https://api.github.com/repos/pipermerriam/django-widgy/milestones{/number}","notifications_url":"https://api.github.com/repos/pipermerriam/django-widgy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pipermerriam/django-widgy/labels{/name}","releases_url":"https://api.github.com/repos/pipermerriam/django-widgy/releases{/id}","created_at":"2015-01-09T17:16:51Z","updated_at":"2015-01-09T17:16:52Z","pushed_at":"2015-02-03T05:07:06Z","git_url":"git://github.com/pipermerriam/django-widgy.git","ssh_url":"git@github.com:pipermerriam/django-widgy.git","clone_url":"https://github.com/pipermerriam/django-widgy.git","svn_url":"https://github.com/pipermerriam/django-widgy","homepage":"http://wid.gy","size":9733,"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":"fusionbox:master","ref":"master","sha":"dd12e31dc551d06acdfeb1a0b0433091933c5f41","user":{"login":"fusionbox","id":22525,"avatar_url":"https://avatars.githubusercontent.com/u/22525?v=3","gravatar_id":"","url":"https://api.github.com/users/fusionbox","html_url":"https://github.com/fusionbox","followers_url":"https://api.github.com/users/fusionbox/followers","following_url":"https://api.github.com/users/fusionbox/following{/other_user}","gists_url":"https://api.github.com/users/fusionbox/gists{/gist_id}","starred_url":"https://api.github.com/users/fusionbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusionbox/subscriptions","organizations_url":"https://api.github.com/users/fusionbox/orgs","repos_url":"https://api.github.com/users/fusionbox/repos","events_url":"https://api.github.com/users/fusionbox/events{/privacy}","received_events_url":"https://api.github.com/users/fusionbox/received_events","type":"Organization","site_admin":false},"repo":{"id":7509423,"name":"django-widgy","full_name":"fusionbox/django-widgy","owner":{"login":"fusionbox","id":22525,"avatar_url":"https://avatars.githubusercontent.com/u/22525?v=3","gravatar_id":"","url":"https://api.github.com/users/fusionbox","html_url":"https://github.com/fusionbox","followers_url":"https://api.github.com/users/fusionbox/followers","following_url":"https://api.github.com/users/fusionbox/following{/other_user}","gists_url":"https://api.github.com/users/fusionbox/gists{/gist_id}","starred_url":"https://api.github.com/users/fusionbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusionbox/subscriptions","organizations_url":"https://api.github.com/users/fusionbox/orgs","repos_url":"https://api.github.com/users/fusionbox/repos","events_url":"https://api.github.com/users/fusionbox/events{/privacy}","received_events_url":"https://api.github.com/users/fusionbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusionbox/django-widgy","description":"A CMS framework for Django built on a heterogenous tree editor.","fork":false,"url":"https://api.github.com/repos/fusionbox/django-widgy","forks_url":"https://api.github.com/repos/fusionbox/django-widgy/forks","keys_url":"https://api.github.com/repos/fusionbox/django-widgy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusionbox/django-widgy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusionbox/django-widgy/teams","hooks_url":"https://api.github.com/repos/fusionbox/django-widgy/hooks","issue_events_url":"https://api.github.com/repos/fusionbox/django-widgy/issues/events{/number}","events_url":"https://api.github.com/repos/fusionbox/django-widgy/events","assignees_url":"https://api.github.com/repos/fusionbox/django-widgy/assignees{/user}","branches_url":"https://api.github.com/repos/fusionbox/django-widgy/branches{/branch}","tags_url":"https://api.github.com/repos/fusionbox/django-widgy/tags","blobs_url":"https://api.github.com/repos/fusionbox/django-widgy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusionbox/django-widgy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusionbox/django-widgy/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusionbox/django-widgy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusionbox/django-widgy/statuses/{sha}","languages_url":"https://api.github.com/repos/fusionbox/django-widgy/languages","stargazers_url":"https://api.github.com/repos/fusionbox/django-widgy/stargazers","contributors_url":"https://api.github.com/repos/fusionbox/django-widgy/contributors","subscribers_url":"https://api.github.com/repos/fusionbox/django-widgy/subscribers","subscription_url":"https://api.github.com/repos/fusionbox/django-widgy/subscription","commits_url":"https://api.github.com/repos/fusionbox/django-widgy/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusionbox/django-widgy/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusionbox/django-widgy/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusionbox/django-widgy/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusionbox/django-widgy/contents/{+path}","compare_url":"https://api.github.com/repos/fusionbox/django-widgy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusionbox/django-widgy/merges","archive_url":"https://api.github.com/repos/fusionbox/django-widgy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusionbox/django-widgy/downloads","issues_url":"https://api.github.com/repos/fusionbox/django-widgy/issues{/number}","pulls_url":"https://api.github.com/repos/fusionbox/django-widgy/pulls{/number}","milestones_url":"https://api.github.com/repos/fusionbox/django-widgy/milestones{/number}","notifications_url":"https://api.github.com/repos/fusionbox/django-widgy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusionbox/django-widgy/labels{/name}","releases_url":"https://api.github.com/repos/fusionbox/django-widgy/releases{/id}","created_at":"2013-01-08T21:21:44Z","updated_at":"2015-03-04T20:06:34Z","pushed_at":"2015-03-04T19:04:17Z","git_url":"git://github.com/fusionbox/django-widgy.git","ssh_url":"git@github.com:fusionbox/django-widgy.git","clone_url":"https://github.com/fusionbox/django-widgy.git","svn_url":"https://github.com/fusionbox/django-widgy","homepage":"http://wid.gy","size":16783,"stargazers_count":202,"watchers_count":202,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":68,"forks":21,"open_issues":68,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293"},"html":{"href":"https://github.com/fusionbox/django-widgy/pull/293"},"issue":{"href":"https://api.github.com/repos/fusionbox/django-widgy/issues/293"},"comments":{"href":"https://api.github.com/repos/fusionbox/django-widgy/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusionbox/django-widgy/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/fusionbox/django-widgy/statuses/0797c6a31aa5210fc20486708b7b44b05f15e20d"}}}}