{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12","id":77009773,"html_url":"https://github.com/adamhaney/django-ondelta/pull/12","diff_url":"https://github.com/adamhaney/django-ondelta/pull/12.diff","patch_url":"https://github.com/adamhaney/django-ondelta/pull/12.patch","issue_url":"https://api.github.com/repos/adamhaney/django-ondelta/issues/12","number":12,"state":"open","locked":false,"title":"Adding post ondelta signal + tests","user":{"login":"fpruitt","id":2659644,"avatar_url":"https://avatars.githubusercontent.com/u/2659644?v=3","gravatar_id":"","url":"https://api.github.com/users/fpruitt","html_url":"https://github.com/fpruitt","followers_url":"https://api.github.com/users/fpruitt/followers","following_url":"https://api.github.com/users/fpruitt/following{/other_user}","gists_url":"https://api.github.com/users/fpruitt/gists{/gist_id}","starred_url":"https://api.github.com/users/fpruitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpruitt/subscriptions","organizations_url":"https://api.github.com/users/fpruitt/orgs","repos_url":"https://api.github.com/users/fpruitt/repos","events_url":"https://api.github.com/users/fpruitt/events{/privacy}","received_events_url":"https://api.github.com/users/fpruitt/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nSometimes, it would be nice to have the ability to listen for field changes outside of the model that has been updated. The normal Django `post_save` signal only provides information about `updated_fields` if that information was explicitly supplied during the save, so signal handlers that do work in response to  certain field updates are left either doing that work on all updates or none. \r\n\r\nThis PR attempts to expand the capabilities of django-ondelta by providing a new signal emission during the ondelta process. This signal carries with it information on the fields that have been updated, as well as a reference to the instance itself. ","created_at":"2016-07-11T19:33:23Z","updated_at":"2016-07-11T19:33:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12/commits","review_comments_url":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12/comments","review_comment_url":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adamhaney/django-ondelta/issues/12/comments","statuses_url":"https://api.github.com/repos/adamhaney/django-ondelta/statuses/e24dea02f2a88c5c641e7c2c5586e517f8d07480","head":{"label":"fpruitt:feature/ondeltaSignalTests","ref":"feature/ondeltaSignalTests","sha":"e24dea02f2a88c5c641e7c2c5586e517f8d07480","user":{"login":"fpruitt","id":2659644,"avatar_url":"https://avatars.githubusercontent.com/u/2659644?v=3","gravatar_id":"","url":"https://api.github.com/users/fpruitt","html_url":"https://github.com/fpruitt","followers_url":"https://api.github.com/users/fpruitt/followers","following_url":"https://api.github.com/users/fpruitt/following{/other_user}","gists_url":"https://api.github.com/users/fpruitt/gists{/gist_id}","starred_url":"https://api.github.com/users/fpruitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpruitt/subscriptions","organizations_url":"https://api.github.com/users/fpruitt/orgs","repos_url":"https://api.github.com/users/fpruitt/repos","events_url":"https://api.github.com/users/fpruitt/events{/privacy}","received_events_url":"https://api.github.com/users/fpruitt/received_events","type":"User","site_admin":false},"repo":{"id":63082793,"name":"django-ondelta","full_name":"fpruitt/django-ondelta","owner":{"login":"fpruitt","id":2659644,"avatar_url":"https://avatars.githubusercontent.com/u/2659644?v=3","gravatar_id":"","url":"https://api.github.com/users/fpruitt","html_url":"https://github.com/fpruitt","followers_url":"https://api.github.com/users/fpruitt/followers","following_url":"https://api.github.com/users/fpruitt/following{/other_user}","gists_url":"https://api.github.com/users/fpruitt/gists{/gist_id}","starred_url":"https://api.github.com/users/fpruitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpruitt/subscriptions","organizations_url":"https://api.github.com/users/fpruitt/orgs","repos_url":"https://api.github.com/users/fpruitt/repos","events_url":"https://api.github.com/users/fpruitt/events{/privacy}","received_events_url":"https://api.github.com/users/fpruitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fpruitt/django-ondelta","description":"A django model mixin that makes it easy to react to field value changes on models. Supports an API similar to the model clean method.","fork":true,"url":"https://api.github.com/repos/fpruitt/django-ondelta","forks_url":"https://api.github.com/repos/fpruitt/django-ondelta/forks","keys_url":"https://api.github.com/repos/fpruitt/django-ondelta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fpruitt/django-ondelta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fpruitt/django-ondelta/teams","hooks_url":"https://api.github.com/repos/fpruitt/django-ondelta/hooks","issue_events_url":"https://api.github.com/repos/fpruitt/django-ondelta/issues/events{/number}","events_url":"https://api.github.com/repos/fpruitt/django-ondelta/events","assignees_url":"https://api.github.com/repos/fpruitt/django-ondelta/assignees{/user}","branches_url":"https://api.github.com/repos/fpruitt/django-ondelta/branches{/branch}","tags_url":"https://api.github.com/repos/fpruitt/django-ondelta/tags","blobs_url":"https://api.github.com/repos/fpruitt/django-ondelta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fpruitt/django-ondelta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fpruitt/django-ondelta/git/refs{/sha}","trees_url":"https://api.github.com/repos/fpruitt/django-ondelta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fpruitt/django-ondelta/statuses/{sha}","languages_url":"https://api.github.com/repos/fpruitt/django-ondelta/languages","stargazers_url":"https://api.github.com/repos/fpruitt/django-ondelta/stargazers","contributors_url":"https://api.github.com/repos/fpruitt/django-ondelta/contributors","subscribers_url":"https://api.github.com/repos/fpruitt/django-ondelta/subscribers","subscription_url":"https://api.github.com/repos/fpruitt/django-ondelta/subscription","commits_url":"https://api.github.com/repos/fpruitt/django-ondelta/commits{/sha}","git_commits_url":"https://api.github.com/repos/fpruitt/django-ondelta/git/commits{/sha}","comments_url":"https://api.github.com/repos/fpruitt/django-ondelta/comments{/number}","issue_comment_url":"https://api.github.com/repos/fpruitt/django-ondelta/issues/comments{/number}","contents_url":"https://api.github.com/repos/fpruitt/django-ondelta/contents/{+path}","compare_url":"https://api.github.com/repos/fpruitt/django-ondelta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fpruitt/django-ondelta/merges","archive_url":"https://api.github.com/repos/fpruitt/django-ondelta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fpruitt/django-ondelta/downloads","issues_url":"https://api.github.com/repos/fpruitt/django-ondelta/issues{/number}","pulls_url":"https://api.github.com/repos/fpruitt/django-ondelta/pulls{/number}","milestones_url":"https://api.github.com/repos/fpruitt/django-ondelta/milestones{/number}","notifications_url":"https://api.github.com/repos/fpruitt/django-ondelta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fpruitt/django-ondelta/labels{/name}","releases_url":"https://api.github.com/repos/fpruitt/django-ondelta/releases{/id}","deployments_url":"https://api.github.com/repos/fpruitt/django-ondelta/deployments","created_at":"2016-07-11T16:08:33Z","updated_at":"2016-07-11T16:08:34Z","pushed_at":"2016-07-11T19:32:37Z","git_url":"git://github.com/fpruitt/django-ondelta.git","ssh_url":"git@github.com:fpruitt/django-ondelta.git","clone_url":"https://github.com/fpruitt/django-ondelta.git","svn_url":"https://github.com/fpruitt/django-ondelta","homepage":null,"size":38,"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":"adamhaney:master","ref":"master","sha":"6324c064b038ccb2cd26dde19b9d9987b877ad57","user":{"login":"adamhaney","id":1839452,"avatar_url":"https://avatars.githubusercontent.com/u/1839452?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhaney","html_url":"https://github.com/adamhaney","followers_url":"https://api.github.com/users/adamhaney/followers","following_url":"https://api.github.com/users/adamhaney/following{/other_user}","gists_url":"https://api.github.com/users/adamhaney/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhaney/subscriptions","organizations_url":"https://api.github.com/users/adamhaney/orgs","repos_url":"https://api.github.com/users/adamhaney/repos","events_url":"https://api.github.com/users/adamhaney/events{/privacy}","received_events_url":"https://api.github.com/users/adamhaney/received_events","type":"User","site_admin":false},"repo":{"id":13713030,"name":"django-ondelta","full_name":"adamhaney/django-ondelta","owner":{"login":"adamhaney","id":1839452,"avatar_url":"https://avatars.githubusercontent.com/u/1839452?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhaney","html_url":"https://github.com/adamhaney","followers_url":"https://api.github.com/users/adamhaney/followers","following_url":"https://api.github.com/users/adamhaney/following{/other_user}","gists_url":"https://api.github.com/users/adamhaney/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhaney/subscriptions","organizations_url":"https://api.github.com/users/adamhaney/orgs","repos_url":"https://api.github.com/users/adamhaney/repos","events_url":"https://api.github.com/users/adamhaney/events{/privacy}","received_events_url":"https://api.github.com/users/adamhaney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamhaney/django-ondelta","description":"A django model mixin that makes it easy to react to field value changes on models. Supports an API similar to the model clean method.","fork":false,"url":"https://api.github.com/repos/adamhaney/django-ondelta","forks_url":"https://api.github.com/repos/adamhaney/django-ondelta/forks","keys_url":"https://api.github.com/repos/adamhaney/django-ondelta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamhaney/django-ondelta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamhaney/django-ondelta/teams","hooks_url":"https://api.github.com/repos/adamhaney/django-ondelta/hooks","issue_events_url":"https://api.github.com/repos/adamhaney/django-ondelta/issues/events{/number}","events_url":"https://api.github.com/repos/adamhaney/django-ondelta/events","assignees_url":"https://api.github.com/repos/adamhaney/django-ondelta/assignees{/user}","branches_url":"https://api.github.com/repos/adamhaney/django-ondelta/branches{/branch}","tags_url":"https://api.github.com/repos/adamhaney/django-ondelta/tags","blobs_url":"https://api.github.com/repos/adamhaney/django-ondelta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamhaney/django-ondelta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamhaney/django-ondelta/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamhaney/django-ondelta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamhaney/django-ondelta/statuses/{sha}","languages_url":"https://api.github.com/repos/adamhaney/django-ondelta/languages","stargazers_url":"https://api.github.com/repos/adamhaney/django-ondelta/stargazers","contributors_url":"https://api.github.com/repos/adamhaney/django-ondelta/contributors","subscribers_url":"https://api.github.com/repos/adamhaney/django-ondelta/subscribers","subscription_url":"https://api.github.com/repos/adamhaney/django-ondelta/subscription","commits_url":"https://api.github.com/repos/adamhaney/django-ondelta/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamhaney/django-ondelta/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamhaney/django-ondelta/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamhaney/django-ondelta/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamhaney/django-ondelta/contents/{+path}","compare_url":"https://api.github.com/repos/adamhaney/django-ondelta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamhaney/django-ondelta/merges","archive_url":"https://api.github.com/repos/adamhaney/django-ondelta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamhaney/django-ondelta/downloads","issues_url":"https://api.github.com/repos/adamhaney/django-ondelta/issues{/number}","pulls_url":"https://api.github.com/repos/adamhaney/django-ondelta/pulls{/number}","milestones_url":"https://api.github.com/repos/adamhaney/django-ondelta/milestones{/number}","notifications_url":"https://api.github.com/repos/adamhaney/django-ondelta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamhaney/django-ondelta/labels{/name}","releases_url":"https://api.github.com/repos/adamhaney/django-ondelta/releases{/id}","deployments_url":"https://api.github.com/repos/adamhaney/django-ondelta/deployments","created_at":"2013-10-20T03:31:12Z","updated_at":"2016-05-02T14:11:44Z","pushed_at":"2016-07-11T19:26:59Z","git_url":"git://github.com/adamhaney/django-ondelta.git","ssh_url":"git@github.com:adamhaney/django-ondelta.git","clone_url":"https://github.com/adamhaney/django-ondelta.git","svn_url":"https://github.com/adamhaney/django-ondelta","homepage":null,"size":265,"stargazers_count":42,"watchers_count":42,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12"},"html":{"href":"https://github.com/adamhaney/django-ondelta/pull/12"},"issue":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/issues/12"},"comments":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/adamhaney/django-ondelta/statuses/e24dea02f2a88c5c641e7c2c5586e517f8d07480"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"fpruitt"}}