{"action":"closed","number":218,"pull_request":{"url":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218","id":10934912,"html_url":"https://github.com/django-wiki/django-wiki/pull/218","diff_url":"https://github.com/django-wiki/django-wiki/pull/218.diff","patch_url":"https://github.com/django-wiki/django-wiki/pull/218.patch","issue_url":"https://api.github.com/repos/django-wiki/django-wiki/issues/218","number":218,"state":"closed","locked":false,"title":"Make custom permissions loaded from module","user":{"login":"vincentalvo","id":3818642,"avatar_url":"https://avatars.githubusercontent.com/u/3818642?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentalvo","html_url":"https://github.com/vincentalvo","followers_url":"https://api.github.com/users/vincentalvo/followers","following_url":"https://api.github.com/users/vincentalvo/following{/other_user}","gists_url":"https://api.github.com/users/vincentalvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentalvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentalvo/subscriptions","organizations_url":"https://api.github.com/users/vincentalvo/orgs","repos_url":"https://api.github.com/users/vincentalvo/repos","events_url":"https://api.github.com/users/vincentalvo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentalvo/received_events","type":"User","site_admin":false},"body":"Make custom permissions functions from module instead of simple\r\ncallable.\r\nCallable was impractical because of circular imports or module not yet\r\nloaded in settings.\r\n\r\nThis way define a string with the module to load that overrides the\r\npermission functions. No import problems.\r\n\r\nCallables are still working for backward compatibility. ","created_at":"2013-12-18T13:48:24Z","updated_at":"2016-01-19T03:01:25Z","closed_at":"2016-01-19T03:01:25Z","merged_at":null,"merge_commit_sha":"c5748b1f5684134e712e44f85d72bd679e07c9c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218/commits","review_comments_url":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218/comments","review_comment_url":"https://api.github.com/repos/django-wiki/django-wiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django-wiki/django-wiki/issues/218/comments","statuses_url":"https://api.github.com/repos/django-wiki/django-wiki/statuses/f82ca9d1e75eaf81fd25003e0bee9c6f01f62c11","head":{"label":"vincentalvo:master","ref":"master","sha":"f82ca9d1e75eaf81fd25003e0bee9c6f01f62c11","user":{"login":"vincentalvo","id":3818642,"avatar_url":"https://avatars.githubusercontent.com/u/3818642?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentalvo","html_url":"https://github.com/vincentalvo","followers_url":"https://api.github.com/users/vincentalvo/followers","following_url":"https://api.github.com/users/vincentalvo/following{/other_user}","gists_url":"https://api.github.com/users/vincentalvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentalvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentalvo/subscriptions","organizations_url":"https://api.github.com/users/vincentalvo/orgs","repos_url":"https://api.github.com/users/vincentalvo/repos","events_url":"https://api.github.com/users/vincentalvo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentalvo/received_events","type":"User","site_admin":false},"repo":{"id":15283756,"name":"django-wiki","full_name":"vincentalvo/django-wiki","owner":{"login":"vincentalvo","id":3818642,"avatar_url":"https://avatars.githubusercontent.com/u/3818642?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentalvo","html_url":"https://github.com/vincentalvo","followers_url":"https://api.github.com/users/vincentalvo/followers","following_url":"https://api.github.com/users/vincentalvo/following{/other_user}","gists_url":"https://api.github.com/users/vincentalvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentalvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentalvo/subscriptions","organizations_url":"https://api.github.com/users/vincentalvo/orgs","repos_url":"https://api.github.com/users/vincentalvo/repos","events_url":"https://api.github.com/users/vincentalvo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentalvo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincentalvo/django-wiki","description":"A wiki system with complex functionality for simple integration and a superb interface. Store your knowledge with style: Use django models.","fork":true,"url":"https://api.github.com/repos/vincentalvo/django-wiki","forks_url":"https://api.github.com/repos/vincentalvo/django-wiki/forks","keys_url":"https://api.github.com/repos/vincentalvo/django-wiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincentalvo/django-wiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincentalvo/django-wiki/teams","hooks_url":"https://api.github.com/repos/vincentalvo/django-wiki/hooks","issue_events_url":"https://api.github.com/repos/vincentalvo/django-wiki/issues/events{/number}","events_url":"https://api.github.com/repos/vincentalvo/django-wiki/events","assignees_url":"https://api.github.com/repos/vincentalvo/django-wiki/assignees{/user}","branches_url":"https://api.github.com/repos/vincentalvo/django-wiki/branches{/branch}","tags_url":"https://api.github.com/repos/vincentalvo/django-wiki/tags","blobs_url":"https://api.github.com/repos/vincentalvo/django-wiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincentalvo/django-wiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincentalvo/django-wiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincentalvo/django-wiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincentalvo/django-wiki/statuses/{sha}","languages_url":"https://api.github.com/repos/vincentalvo/django-wiki/languages","stargazers_url":"https://api.github.com/repos/vincentalvo/django-wiki/stargazers","contributors_url":"https://api.github.com/repos/vincentalvo/django-wiki/contributors","subscribers_url":"https://api.github.com/repos/vincentalvo/django-wiki/subscribers","subscription_url":"https://api.github.com/repos/vincentalvo/django-wiki/subscription","commits_url":"https://api.github.com/repos/vincentalvo/django-wiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincentalvo/django-wiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincentalvo/django-wiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincentalvo/django-wiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincentalvo/django-wiki/contents/{+path}","compare_url":"https://api.github.com/repos/vincentalvo/django-wiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincentalvo/django-wiki/merges","archive_url":"https://api.github.com/repos/vincentalvo/django-wiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincentalvo/django-wiki/downloads","issues_url":"https://api.github.com/repos/vincentalvo/django-wiki/issues{/number}","pulls_url":"https://api.github.com/repos/vincentalvo/django-wiki/pulls{/number}","milestones_url":"https://api.github.com/repos/vincentalvo/django-wiki/milestones{/number}","notifications_url":"https://api.github.com/repos/vincentalvo/django-wiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincentalvo/django-wiki/labels{/name}","releases_url":"https://api.github.com/repos/vincentalvo/django-wiki/releases{/id}","created_at":"2013-12-18T13:26:05Z","updated_at":"2014-07-18T11:23:48Z","pushed_at":"2014-01-14T17:04:37Z","git_url":"git://github.com/vincentalvo/django-wiki.git","ssh_url":"git@github.com:vincentalvo/django-wiki.git","clone_url":"https://github.com/vincentalvo/django-wiki.git","svn_url":"https://github.com/vincentalvo/django-wiki","homepage":"","size":3653,"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":"django-wiki:master","ref":"master","sha":"9931ffdf58064141367e2b71a3a2b61a665dd30d","user":{"login":"django-wiki","id":7289936,"avatar_url":"https://avatars.githubusercontent.com/u/7289936?v=3","gravatar_id":"","url":"https://api.github.com/users/django-wiki","html_url":"https://github.com/django-wiki","followers_url":"https://api.github.com/users/django-wiki/followers","following_url":"https://api.github.com/users/django-wiki/following{/other_user}","gists_url":"https://api.github.com/users/django-wiki/gists{/gist_id}","starred_url":"https://api.github.com/users/django-wiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-wiki/subscriptions","organizations_url":"https://api.github.com/users/django-wiki/orgs","repos_url":"https://api.github.com/users/django-wiki/repos","events_url":"https://api.github.com/users/django-wiki/events{/privacy}","received_events_url":"https://api.github.com/users/django-wiki/received_events","type":"Organization","site_admin":false},"repo":{"id":5086313,"name":"django-wiki","full_name":"django-wiki/django-wiki","owner":{"login":"django-wiki","id":7289936,"avatar_url":"https://avatars.githubusercontent.com/u/7289936?v=3","gravatar_id":"","url":"https://api.github.com/users/django-wiki","html_url":"https://github.com/django-wiki","followers_url":"https://api.github.com/users/django-wiki/followers","following_url":"https://api.github.com/users/django-wiki/following{/other_user}","gists_url":"https://api.github.com/users/django-wiki/gists{/gist_id}","starred_url":"https://api.github.com/users/django-wiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-wiki/subscriptions","organizations_url":"https://api.github.com/users/django-wiki/orgs","repos_url":"https://api.github.com/users/django-wiki/repos","events_url":"https://api.github.com/users/django-wiki/events{/privacy}","received_events_url":"https://api.github.com/users/django-wiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django-wiki/django-wiki","description":"A wiki system with complex functionality for simple integration and a superb interface. Store your knowledge with style: Use django models.","fork":false,"url":"https://api.github.com/repos/django-wiki/django-wiki","forks_url":"https://api.github.com/repos/django-wiki/django-wiki/forks","keys_url":"https://api.github.com/repos/django-wiki/django-wiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django-wiki/django-wiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django-wiki/django-wiki/teams","hooks_url":"https://api.github.com/repos/django-wiki/django-wiki/hooks","issue_events_url":"https://api.github.com/repos/django-wiki/django-wiki/issues/events{/number}","events_url":"https://api.github.com/repos/django-wiki/django-wiki/events","assignees_url":"https://api.github.com/repos/django-wiki/django-wiki/assignees{/user}","branches_url":"https://api.github.com/repos/django-wiki/django-wiki/branches{/branch}","tags_url":"https://api.github.com/repos/django-wiki/django-wiki/tags","blobs_url":"https://api.github.com/repos/django-wiki/django-wiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django-wiki/django-wiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django-wiki/django-wiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/django-wiki/django-wiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django-wiki/django-wiki/statuses/{sha}","languages_url":"https://api.github.com/repos/django-wiki/django-wiki/languages","stargazers_url":"https://api.github.com/repos/django-wiki/django-wiki/stargazers","contributors_url":"https://api.github.com/repos/django-wiki/django-wiki/contributors","subscribers_url":"https://api.github.com/repos/django-wiki/django-wiki/subscribers","subscription_url":"https://api.github.com/repos/django-wiki/django-wiki/subscription","commits_url":"https://api.github.com/repos/django-wiki/django-wiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/django-wiki/django-wiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/django-wiki/django-wiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/django-wiki/django-wiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/django-wiki/django-wiki/contents/{+path}","compare_url":"https://api.github.com/repos/django-wiki/django-wiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django-wiki/django-wiki/merges","archive_url":"https://api.github.com/repos/django-wiki/django-wiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django-wiki/django-wiki/downloads","issues_url":"https://api.github.com/repos/django-wiki/django-wiki/issues{/number}","pulls_url":"https://api.github.com/repos/django-wiki/django-wiki/pulls{/number}","milestones_url":"https://api.github.com/repos/django-wiki/django-wiki/milestones{/number}","notifications_url":"https://api.github.com/repos/django-wiki/django-wiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django-wiki/django-wiki/labels{/name}","releases_url":"https://api.github.com/repos/django-wiki/django-wiki/releases{/id}","created_at":"2012-07-17T18:46:09Z","updated_at":"2016-01-18T11:09:12Z","pushed_at":"2016-01-19T02:59:06Z","git_url":"git://github.com/django-wiki/django-wiki.git","ssh_url":"git@github.com:django-wiki/django-wiki.git","clone_url":"https://github.com/django-wiki/django-wiki.git","svn_url":"https://github.com/django-wiki/django-wiki","homepage":"http://demo.django.wiki","size":6330,"stargazers_count":540,"watchers_count":540,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":254,"mirror_url":null,"open_issues_count":37,"forks":254,"open_issues":37,"watchers":540,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218"},"html":{"href":"https://github.com/django-wiki/django-wiki/pull/218"},"issue":{"href":"https://api.github.com/repos/django-wiki/django-wiki/issues/218"},"comments":{"href":"https://api.github.com/repos/django-wiki/django-wiki/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/django-wiki/django-wiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django-wiki/django-wiki/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/django-wiki/django-wiki/statuses/f82ca9d1e75eaf81fd25003e0bee9c6f01f62c11"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":4,"additions":84,"deletions":24,"changed_files":2}}