{"action":"created","comment":{"url":"https://api.github.com/repos/openwisp/django-x509/pulls/comments/156614388","pull_request_review_id":83112777,"id":156614388,"diff_hunk":"@@ -59,11 +60,25 @@ class CaAdmin(BaseAdmin):\n     list_filter = ['key_length', 'digest', 'created']\n \n \n-class CertAdmin(BaseAdmin):\n+class AbstractCertForm(forms.ModelForm):\n+        OPERATION_CHOICES = (\n+            ('-----', '-----'),\n+            ('import', 'import'),\n+            ('new', 'new')","path":"django_x509/base/admin.py","position":14,"original_position":14,"commit_id":"da49fb4643965f67e8d0f71dda99384290e5a9b7","original_commit_id":"da49fb4643965f67e8d0f71dda99384290e5a9b7","user":{"login":"nemesisdesign","id":841044,"avatar_url":"https://avatars3.githubusercontent.com/u/841044?v=4","gravatar_id":"","url":"https://api.github.com/users/nemesisdesign","html_url":"https://github.com/nemesisdesign","followers_url":"https://api.github.com/users/nemesisdesign/followers","following_url":"https://api.github.com/users/nemesisdesign/following{/other_user}","gists_url":"https://api.github.com/users/nemesisdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/nemesisdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemesisdesign/subscriptions","organizations_url":"https://api.github.com/users/nemesisdesign/orgs","repos_url":"https://api.github.com/users/nemesisdesign/repos","events_url":"https://api.github.com/users/nemesisdesign/events{/privacy}","received_events_url":"https://api.github.com/users/nemesisdesign/received_events","type":"User","site_admin":false},"body":"change to:\r\n\r\n`('new', _('Create new'))`","created_at":"2017-12-13T10:18:37Z","updated_at":"2017-12-13T10:23:25Z","html_url":"https://github.com/openwisp/django-x509/pull/23#discussion_r156614388","pull_request_url":"https://api.github.com/repos/openwisp/django-x509/pulls/23","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/comments/156614388"},"html":{"href":"https://github.com/openwisp/django-x509/pull/23#discussion_r156614388"},"pull_request":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/openwisp/django-x509/pulls/23","id":157604955,"html_url":"https://github.com/openwisp/django-x509/pull/23","diff_url":"https://github.com/openwisp/django-x509/pull/23.diff","patch_url":"https://github.com/openwisp/django-x509/pull/23.patch","issue_url":"https://api.github.com/repos/openwisp/django-x509/issues/23","number":23,"state":"open","locked":false,"title":"[UX] New vs Import javascript switcher #10","user":{"login":"R9295","id":15076206,"avatar_url":"https://avatars2.githubusercontent.com/u/15076206?v=4","gravatar_id":"","url":"https://api.github.com/users/R9295","html_url":"https://github.com/R9295","followers_url":"https://api.github.com/users/R9295/followers","following_url":"https://api.github.com/users/R9295/following{/other_user}","gists_url":"https://api.github.com/users/R9295/gists{/gist_id}","starred_url":"https://api.github.com/users/R9295/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R9295/subscriptions","organizations_url":"https://api.github.com/users/R9295/orgs","repos_url":"https://api.github.com/users/R9295/repos","events_url":"https://api.github.com/users/R9295/events{/privacy}","received_events_url":"https://api.github.com/users/R9295/received_events","type":"User","site_admin":false},"body":"Implements and closes #10","created_at":"2017-12-11T16:11:33Z","updated_at":"2017-12-13T10:23:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92979c7beccb35a74c3e11a55e76b117de604e70","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openwisp/django-x509/pulls/23/commits","review_comments_url":"https://api.github.com/repos/openwisp/django-x509/pulls/23/comments","review_comment_url":"https://api.github.com/repos/openwisp/django-x509/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwisp/django-x509/issues/23/comments","statuses_url":"https://api.github.com/repos/openwisp/django-x509/statuses/da49fb4643965f67e8d0f71dda99384290e5a9b7","head":{"label":"R9295:js-switcher","ref":"js-switcher","sha":"da49fb4643965f67e8d0f71dda99384290e5a9b7","user":{"login":"R9295","id":15076206,"avatar_url":"https://avatars2.githubusercontent.com/u/15076206?v=4","gravatar_id":"","url":"https://api.github.com/users/R9295","html_url":"https://github.com/R9295","followers_url":"https://api.github.com/users/R9295/followers","following_url":"https://api.github.com/users/R9295/following{/other_user}","gists_url":"https://api.github.com/users/R9295/gists{/gist_id}","starred_url":"https://api.github.com/users/R9295/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R9295/subscriptions","organizations_url":"https://api.github.com/users/R9295/orgs","repos_url":"https://api.github.com/users/R9295/repos","events_url":"https://api.github.com/users/R9295/events{/privacy}","received_events_url":"https://api.github.com/users/R9295/received_events","type":"User","site_admin":false},"repo":{"id":108079078,"name":"django-x509","full_name":"R9295/django-x509","owner":{"login":"R9295","id":15076206,"avatar_url":"https://avatars2.githubusercontent.com/u/15076206?v=4","gravatar_id":"","url":"https://api.github.com/users/R9295","html_url":"https://github.com/R9295","followers_url":"https://api.github.com/users/R9295/followers","following_url":"https://api.github.com/users/R9295/following{/other_user}","gists_url":"https://api.github.com/users/R9295/gists{/gist_id}","starred_url":"https://api.github.com/users/R9295/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R9295/subscriptions","organizations_url":"https://api.github.com/users/R9295/orgs","repos_url":"https://api.github.com/users/R9295/repos","events_url":"https://api.github.com/users/R9295/events{/privacy}","received_events_url":"https://api.github.com/users/R9295/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/R9295/django-x509","description":"Reusable django app implementing x509 PKI certificates management","fork":true,"url":"https://api.github.com/repos/R9295/django-x509","forks_url":"https://api.github.com/repos/R9295/django-x509/forks","keys_url":"https://api.github.com/repos/R9295/django-x509/keys{/key_id}","collaborators_url":"https://api.github.com/repos/R9295/django-x509/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/R9295/django-x509/teams","hooks_url":"https://api.github.com/repos/R9295/django-x509/hooks","issue_events_url":"https://api.github.com/repos/R9295/django-x509/issues/events{/number}","events_url":"https://api.github.com/repos/R9295/django-x509/events","assignees_url":"https://api.github.com/repos/R9295/django-x509/assignees{/user}","branches_url":"https://api.github.com/repos/R9295/django-x509/branches{/branch}","tags_url":"https://api.github.com/repos/R9295/django-x509/tags","blobs_url":"https://api.github.com/repos/R9295/django-x509/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/R9295/django-x509/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/R9295/django-x509/git/refs{/sha}","trees_url":"https://api.github.com/repos/R9295/django-x509/git/trees{/sha}","statuses_url":"https://api.github.com/repos/R9295/django-x509/statuses/{sha}","languages_url":"https://api.github.com/repos/R9295/django-x509/languages","stargazers_url":"https://api.github.com/repos/R9295/django-x509/stargazers","contributors_url":"https://api.github.com/repos/R9295/django-x509/contributors","subscribers_url":"https://api.github.com/repos/R9295/django-x509/subscribers","subscription_url":"https://api.github.com/repos/R9295/django-x509/subscription","commits_url":"https://api.github.com/repos/R9295/django-x509/commits{/sha}","git_commits_url":"https://api.github.com/repos/R9295/django-x509/git/commits{/sha}","comments_url":"https://api.github.com/repos/R9295/django-x509/comments{/number}","issue_comment_url":"https://api.github.com/repos/R9295/django-x509/issues/comments{/number}","contents_url":"https://api.github.com/repos/R9295/django-x509/contents/{+path}","compare_url":"https://api.github.com/repos/R9295/django-x509/compare/{base}...{head}","merges_url":"https://api.github.com/repos/R9295/django-x509/merges","archive_url":"https://api.github.com/repos/R9295/django-x509/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/R9295/django-x509/downloads","issues_url":"https://api.github.com/repos/R9295/django-x509/issues{/number}","pulls_url":"https://api.github.com/repos/R9295/django-x509/pulls{/number}","milestones_url":"https://api.github.com/repos/R9295/django-x509/milestones{/number}","notifications_url":"https://api.github.com/repos/R9295/django-x509/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/R9295/django-x509/labels{/name}","releases_url":"https://api.github.com/repos/R9295/django-x509/releases{/id}","deployments_url":"https://api.github.com/repos/R9295/django-x509/deployments","created_at":"2017-10-24T05:02:27Z","updated_at":"2017-10-24T05:02:29Z","pushed_at":"2017-12-13T09:53:17Z","git_url":"git://github.com/R9295/django-x509.git","ssh_url":"git@github.com:R9295/django-x509.git","clone_url":"https://github.com/R9295/django-x509.git","svn_url":"https://github.com/R9295/django-x509","homepage":"http://openwisp.org","size":131,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openwisp:master","ref":"master","sha":"4a727b6df11e6b8bdfc6190e042572f80463d6be","user":{"login":"openwisp","id":1150243,"avatar_url":"https://avatars1.githubusercontent.com/u/1150243?v=4","gravatar_id":"","url":"https://api.github.com/users/openwisp","html_url":"https://github.com/openwisp","followers_url":"https://api.github.com/users/openwisp/followers","following_url":"https://api.github.com/users/openwisp/following{/other_user}","gists_url":"https://api.github.com/users/openwisp/gists{/gist_id}","starred_url":"https://api.github.com/users/openwisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwisp/subscriptions","organizations_url":"https://api.github.com/users/openwisp/orgs","repos_url":"https://api.github.com/users/openwisp/repos","events_url":"https://api.github.com/users/openwisp/events{/privacy}","received_events_url":"https://api.github.com/users/openwisp/received_events","type":"Organization","site_admin":false},"repo":{"id":62899021,"name":"django-x509","full_name":"openwisp/django-x509","owner":{"login":"openwisp","id":1150243,"avatar_url":"https://avatars1.githubusercontent.com/u/1150243?v=4","gravatar_id":"","url":"https://api.github.com/users/openwisp","html_url":"https://github.com/openwisp","followers_url":"https://api.github.com/users/openwisp/followers","following_url":"https://api.github.com/users/openwisp/following{/other_user}","gists_url":"https://api.github.com/users/openwisp/gists{/gist_id}","starred_url":"https://api.github.com/users/openwisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwisp/subscriptions","organizations_url":"https://api.github.com/users/openwisp/orgs","repos_url":"https://api.github.com/users/openwisp/repos","events_url":"https://api.github.com/users/openwisp/events{/privacy}","received_events_url":"https://api.github.com/users/openwisp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwisp/django-x509","description":"Reusable django app implementing x509 PKI certificates management","fork":false,"url":"https://api.github.com/repos/openwisp/django-x509","forks_url":"https://api.github.com/repos/openwisp/django-x509/forks","keys_url":"https://api.github.com/repos/openwisp/django-x509/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwisp/django-x509/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwisp/django-x509/teams","hooks_url":"https://api.github.com/repos/openwisp/django-x509/hooks","issue_events_url":"https://api.github.com/repos/openwisp/django-x509/issues/events{/number}","events_url":"https://api.github.com/repos/openwisp/django-x509/events","assignees_url":"https://api.github.com/repos/openwisp/django-x509/assignees{/user}","branches_url":"https://api.github.com/repos/openwisp/django-x509/branches{/branch}","tags_url":"https://api.github.com/repos/openwisp/django-x509/tags","blobs_url":"https://api.github.com/repos/openwisp/django-x509/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwisp/django-x509/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwisp/django-x509/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwisp/django-x509/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwisp/django-x509/statuses/{sha}","languages_url":"https://api.github.com/repos/openwisp/django-x509/languages","stargazers_url":"https://api.github.com/repos/openwisp/django-x509/stargazers","contributors_url":"https://api.github.com/repos/openwisp/django-x509/contributors","subscribers_url":"https://api.github.com/repos/openwisp/django-x509/subscribers","subscription_url":"https://api.github.com/repos/openwisp/django-x509/subscription","commits_url":"https://api.github.com/repos/openwisp/django-x509/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwisp/django-x509/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwisp/django-x509/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwisp/django-x509/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwisp/django-x509/contents/{+path}","compare_url":"https://api.github.com/repos/openwisp/django-x509/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwisp/django-x509/merges","archive_url":"https://api.github.com/repos/openwisp/django-x509/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwisp/django-x509/downloads","issues_url":"https://api.github.com/repos/openwisp/django-x509/issues{/number}","pulls_url":"https://api.github.com/repos/openwisp/django-x509/pulls{/number}","milestones_url":"https://api.github.com/repos/openwisp/django-x509/milestones{/number}","notifications_url":"https://api.github.com/repos/openwisp/django-x509/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwisp/django-x509/labels{/name}","releases_url":"https://api.github.com/repos/openwisp/django-x509/releases{/id}","deployments_url":"https://api.github.com/repos/openwisp/django-x509/deployments","created_at":"2016-07-08T15:35:04Z","updated_at":"2017-12-06T13:10:19Z","pushed_at":"2017-12-13T09:53:19Z","git_url":"git://github.com/openwisp/django-x509.git","ssh_url":"git@github.com:openwisp/django-x509.git","clone_url":"https://github.com/openwisp/django-x509.git","svn_url":"https://github.com/openwisp/django-x509","homepage":"http://openwisp.org","size":154,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":13,"open_issues":7,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/23"},"html":{"href":"https://github.com/openwisp/django-x509/pull/23"},"issue":{"href":"https://api.github.com/repos/openwisp/django-x509/issues/23"},"comments":{"href":"https://api.github.com/repos/openwisp/django-x509/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwisp/django-x509/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/openwisp/django-x509/statuses/da49fb4643965f67e8d0f71dda99384290e5a9b7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nemesisdesign"}}