{"action":"created","comment":{"url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/comments/224143281","pull_request_review_id":163439966,"id":224143281,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDE0MzI4MQ==","diff_hunk":"@@ -151,9 +166,9 @@ INSTALLED_APPS = (\n ```python\n from django.db import models\n \n-from pgcrypto import fields, managers\n+from pgcrypto import fields\n \n-class MyModelManager(managers.PGPManager):\n+class MyModelManager(models.Manager):","path":"README.md","position":49,"original_position":49,"commit_id":"fa6cc5449c9b649162bcc3d9e8a35532b5ca741b","original_commit_id":"fa6cc5449c9b649162bcc3d9e8a35532b5ca741b","user":{"login":"peterfarrell","id":2857188,"node_id":"MDQ6VXNlcjI4NTcxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2857188?v=4","gravatar_id":"","url":"https://api.github.com/users/peterfarrell","html_url":"https://github.com/peterfarrell","followers_url":"https://api.github.com/users/peterfarrell/followers","following_url":"https://api.github.com/users/peterfarrell/following{/other_user}","gists_url":"https://api.github.com/users/peterfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfarrell/subscriptions","organizations_url":"https://api.github.com/users/peterfarrell/orgs","repos_url":"https://api.github.com/users/peterfarrell/repos","events_url":"https://api.github.com/users/peterfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/peterfarrell/received_events","type":"User","site_admin":false},"body":"Agreed. Fixed in next commit.","created_at":"2018-10-10T16:07:14Z","updated_at":"2018-10-10T16:07:14Z","html_url":"https://github.com/incuna/django-pgcrypto-fields/pull/65#discussion_r224143281","pull_request_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/comments/224143281"},"html":{"href":"https://github.com/incuna/django-pgcrypto-fields/pull/65#discussion_r224143281"},"pull_request":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65"}},"in_reply_to_id":223957343},"pull_request":{"url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65","id":221627357,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNjI3MzU3","html_url":"https://github.com/incuna/django-pgcrypto-fields/pull/65","diff_url":"https://github.com/incuna/django-pgcrypto-fields/pull/65.diff","patch_url":"https://github.com/incuna/django-pgcrypto-fields/pull/65.patch","issue_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/65","number":65,"state":"open","locked":false,"title":"New auto decryption","user":{"login":"peterfarrell","id":2857188,"node_id":"MDQ6VXNlcjI4NTcxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2857188?v=4","gravatar_id":"","url":"https://api.github.com/users/peterfarrell","html_url":"https://github.com/peterfarrell","followers_url":"https://api.github.com/users/peterfarrell/followers","following_url":"https://api.github.com/users/peterfarrell/following{/other_user}","gists_url":"https://api.github.com/users/peterfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfarrell/subscriptions","organizations_url":"https://api.github.com/users/peterfarrell/orgs","repos_url":"https://api.github.com/users/peterfarrell/repos","events_url":"https://api.github.com/users/peterfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/peterfarrell/received_events","type":"User","site_admin":false},"body":"This is a rather larger overhaul that builds auto decryption into the library without having to use aggregates or the PGPManager in your application code. It just works transparently now.\r\n\r\n- Added auto-decryption of all encrypted fields including FK tables when `select_related()` is used\r\n- Added support to `filter()` on encrypted fields without needing aggregates\r\n- Removed aggregates, PGPManager, and Proxy as they are no longer needed\r\n- Added support for `get_or_create()` and `update_or_create()` (#27)\r\n- Added support for `get_by_natural_key()` (#23)\r\n- Added support for `only()` and defer`()` as they were not supported with the older `PGPManager`\r\n- Improved the make file","created_at":"2018-10-10T00:41:34Z","updated_at":"2018-10-10T16:07:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a7fc693dac160ce3744283054a275fac93c9011","assignee":{"login":"peterfarrell","id":2857188,"node_id":"MDQ6VXNlcjI4NTcxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2857188?v=4","gravatar_id":"","url":"https://api.github.com/users/peterfarrell","html_url":"https://github.com/peterfarrell","followers_url":"https://api.github.com/users/peterfarrell/followers","following_url":"https://api.github.com/users/peterfarrell/following{/other_user}","gists_url":"https://api.github.com/users/peterfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfarrell/subscriptions","organizations_url":"https://api.github.com/users/peterfarrell/orgs","repos_url":"https://api.github.com/users/peterfarrell/repos","events_url":"https://api.github.com/users/peterfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/peterfarrell/received_events","type":"User","site_admin":false},"assignees":[{"login":"peterfarrell","id":2857188,"node_id":"MDQ6VXNlcjI4NTcxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2857188?v=4","gravatar_id":"","url":"https://api.github.com/users/peterfarrell","html_url":"https://github.com/peterfarrell","followers_url":"https://api.github.com/users/peterfarrell/followers","following_url":"https://api.github.com/users/peterfarrell/following{/other_user}","gists_url":"https://api.github.com/users/peterfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfarrell/subscriptions","organizations_url":"https://api.github.com/users/peterfarrell/orgs","repos_url":"https://api.github.com/users/peterfarrell/repos","events_url":"https://api.github.com/users/peterfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/peterfarrell/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":140432956,"node_id":"MDU6TGFiZWwxNDA0MzI5NTY=","url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/milestones/2","html_url":"https://github.com/incuna/django-pgcrypto-fields/milestone/2","labels_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/milestones/2/labels","id":3722580,"node_id":"MDk6TWlsZXN0b25lMzcyMjU4MA==","number":2,"title":"2.4.0","description":null,"creator":{"login":"peterfarrell","id":2857188,"node_id":"MDQ6VXNlcjI4NTcxODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2857188?v=4","gravatar_id":"","url":"https://api.github.com/users/peterfarrell","html_url":"https://github.com/peterfarrell","followers_url":"https://api.github.com/users/peterfarrell/followers","following_url":"https://api.github.com/users/peterfarrell/following{/other_user}","gists_url":"https://api.github.com/users/peterfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/peterfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterfarrell/subscriptions","organizations_url":"https://api.github.com/users/peterfarrell/orgs","repos_url":"https://api.github.com/users/peterfarrell/repos","events_url":"https://api.github.com/users/peterfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/peterfarrell/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-10-08T23:54:11Z","updated_at":"2018-10-10T00:43:09Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65/commits","review_comments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65/comments","review_comment_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/65/comments","statuses_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/statuses/fa6cc5449c9b649162bcc3d9e8a35532b5ca741b","head":{"label":"incuna:new_auto_decryption","ref":"new_auto_decryption","sha":"fa6cc5449c9b649162bcc3d9e8a35532b5ca741b","user":{"login":"incuna","id":55510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/55510?v=4","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"repo":{"id":25590252,"node_id":"MDEwOlJlcG9zaXRvcnkyNTU5MDI1Mg==","name":"django-pgcrypto-fields","full_name":"incuna/django-pgcrypto-fields","private":false,"owner":{"login":"incuna","id":55510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/55510?v=4","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/incuna/django-pgcrypto-fields","description":"Encrypted fields dealing with pgcrypto postgres extension.","fork":false,"url":"https://api.github.com/repos/incuna/django-pgcrypto-fields","forks_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/forks","keys_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/teams","hooks_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/hooks","issue_events_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/events{/number}","events_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/events","assignees_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/assignees{/user}","branches_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/branches{/branch}","tags_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/tags","blobs_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/languages","stargazers_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/stargazers","contributors_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/contributors","subscribers_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/subscribers","subscription_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/subscription","commits_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/contents/{+path}","compare_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/merges","archive_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/downloads","issues_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues{/number}","pulls_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/labels{/name}","releases_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/releases{/id}","deployments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/deployments","created_at":"2014-10-22T15:51:55Z","updated_at":"2018-10-09T17:11:00Z","pushed_at":"2018-10-10T00:41:34Z","git_url":"git://github.com/incuna/django-pgcrypto-fields.git","ssh_url":"git@github.com:incuna/django-pgcrypto-fields.git","clone_url":"https://github.com/incuna/django-pgcrypto-fields.git","svn_url":"https://github.com/incuna/django-pgcrypto-fields","homepage":null,"size":186,"stargazers_count":59,"watchers_count":59,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":17,"open_issues":5,"watchers":59,"default_branch":"master"}},"base":{"label":"incuna:master","ref":"master","sha":"aef1c4b69d7f03de00ec803268848c065b9b316a","user":{"login":"incuna","id":55510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/55510?v=4","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"repo":{"id":25590252,"node_id":"MDEwOlJlcG9zaXRvcnkyNTU5MDI1Mg==","name":"django-pgcrypto-fields","full_name":"incuna/django-pgcrypto-fields","private":false,"owner":{"login":"incuna","id":55510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/55510?v=4","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/incuna/django-pgcrypto-fields","description":"Encrypted fields dealing with pgcrypto postgres extension.","fork":false,"url":"https://api.github.com/repos/incuna/django-pgcrypto-fields","forks_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/forks","keys_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/teams","hooks_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/hooks","issue_events_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/events{/number}","events_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/events","assignees_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/assignees{/user}","branches_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/branches{/branch}","tags_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/tags","blobs_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/languages","stargazers_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/stargazers","contributors_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/contributors","subscribers_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/subscribers","subscription_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/subscription","commits_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/contents/{+path}","compare_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/merges","archive_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/downloads","issues_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues{/number}","pulls_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/labels{/name}","releases_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/releases{/id}","deployments_url":"https://api.github.com/repos/incuna/django-pgcrypto-fields/deployments","created_at":"2014-10-22T15:51:55Z","updated_at":"2018-10-09T17:11:00Z","pushed_at":"2018-10-10T00:41:34Z","git_url":"git://github.com/incuna/django-pgcrypto-fields.git","ssh_url":"git@github.com:incuna/django-pgcrypto-fields.git","clone_url":"https://github.com/incuna/django-pgcrypto-fields.git","svn_url":"https://github.com/incuna/django-pgcrypto-fields","homepage":null,"size":186,"stargazers_count":59,"watchers_count":59,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":17,"open_issues":5,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65"},"html":{"href":"https://github.com/incuna/django-pgcrypto-fields/pull/65"},"issue":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/65"},"comments":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/incuna/django-pgcrypto-fields/statuses/fa6cc5449c9b649162bcc3d9e8a35532b5ca741b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"peterfarrell"}}