{"action":"created","comment":{"url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/comments/81615656","pull_request_review_id":2582649,"id":81615656,"diff_hunk":"@@ -79,6 +79,11 @@ def allow_syncdb(self, db, model):\n         \"\"\"Only allow syncdb on the master.\"\"\"\n         return db == DEFAULT_DB_ALIAS\n \n+    def allow_migrate(self, db, app_label, model_name=None, **hints):\n+        \"\"\"Determine if the migration operation is allowed to run on the database with alias db.\"\"\"","path":"multidb/__init__.py","position":5,"original_position":5,"commit_id":"0928855975e27a9912096eb4d57a9923447b5fcd","original_commit_id":"0928855975e27a9912096eb4d57a9923447b5fcd","user":{"login":"jsocol","id":180459,"avatar_url":"https://avatars.githubusercontent.com/u/180459?v=3","gravatar_id":"","url":"https://api.github.com/users/jsocol","html_url":"https://github.com/jsocol","followers_url":"https://api.github.com/users/jsocol/followers","following_url":"https://api.github.com/users/jsocol/following{/other_user}","gists_url":"https://api.github.com/users/jsocol/gists{/gist_id}","starred_url":"https://api.github.com/users/jsocol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsocol/subscriptions","organizations_url":"https://api.github.com/users/jsocol/orgs","repos_url":"https://api.github.com/users/jsocol/repos","events_url":"https://api.github.com/users/jsocol/events{/privacy}","received_events_url":"https://api.github.com/users/jsocol/received_events","type":"User","site_admin":false},"body":"these comments are definitely >80 chars. Mind rewording to be shorter?","created_at":"2016-10-03T18:53:54Z","updated_at":"2016-10-03T18:54:01Z","html_url":"https://github.com/jbalogh/django-multidb-router/pull/30#discussion_r81615656","pull_request_url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/comments/81615656"},"html":{"href":"https://github.com/jbalogh/django-multidb-router/pull/30#discussion_r81615656"},"pull_request":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30","id":79176233,"html_url":"https://github.com/jbalogh/django-multidb-router/pull/30","diff_url":"https://github.com/jbalogh/django-multidb-router/pull/30.diff","patch_url":"https://github.com/jbalogh/django-multidb-router/pull/30.patch","issue_url":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/30","number":30,"state":"open","locked":false,"title":"Adding method allow_migrate on MasterSlaveRouter","user":{"login":"raghuraju","id":932416,"avatar_url":"https://avatars.githubusercontent.com/u/932416?v=3","gravatar_id":"","url":"https://api.github.com/users/raghuraju","html_url":"https://github.com/raghuraju","followers_url":"https://api.github.com/users/raghuraju/followers","following_url":"https://api.github.com/users/raghuraju/following{/other_user}","gists_url":"https://api.github.com/users/raghuraju/gists{/gist_id}","starred_url":"https://api.github.com/users/raghuraju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghuraju/subscriptions","organizations_url":"https://api.github.com/users/raghuraju/orgs","repos_url":"https://api.github.com/users/raghuraju/repos","events_url":"https://api.github.com/users/raghuraju/events{/privacy}","received_events_url":"https://api.github.com/users/raghuraju/received_events","type":"User","site_admin":false},"body":"Prevents it from breaking with Django 1.8.*","created_at":"2016-07-28T11:02:04Z","updated_at":"2016-10-03T18:54:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c23665b71094944605bb2aac2ba1f41b3a1fce4f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30/commits","review_comments_url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30/comments","review_comment_url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/30/comments","statuses_url":"https://api.github.com/repos/jbalogh/django-multidb-router/statuses/0928855975e27a9912096eb4d57a9923447b5fcd","head":{"label":"raghuraju:master","ref":"master","sha":"0928855975e27a9912096eb4d57a9923447b5fcd","user":{"login":"raghuraju","id":932416,"avatar_url":"https://avatars.githubusercontent.com/u/932416?v=3","gravatar_id":"","url":"https://api.github.com/users/raghuraju","html_url":"https://github.com/raghuraju","followers_url":"https://api.github.com/users/raghuraju/followers","following_url":"https://api.github.com/users/raghuraju/following{/other_user}","gists_url":"https://api.github.com/users/raghuraju/gists{/gist_id}","starred_url":"https://api.github.com/users/raghuraju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghuraju/subscriptions","organizations_url":"https://api.github.com/users/raghuraju/orgs","repos_url":"https://api.github.com/users/raghuraju/repos","events_url":"https://api.github.com/users/raghuraju/events{/privacy}","received_events_url":"https://api.github.com/users/raghuraju/received_events","type":"User","site_admin":false},"repo":{"id":64387959,"name":"django-multidb-router","full_name":"raghuraju/django-multidb-router","owner":{"login":"raghuraju","id":932416,"avatar_url":"https://avatars.githubusercontent.com/u/932416?v=3","gravatar_id":"","url":"https://api.github.com/users/raghuraju","html_url":"https://github.com/raghuraju","followers_url":"https://api.github.com/users/raghuraju/followers","following_url":"https://api.github.com/users/raghuraju/following{/other_user}","gists_url":"https://api.github.com/users/raghuraju/gists{/gist_id}","starred_url":"https://api.github.com/users/raghuraju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghuraju/subscriptions","organizations_url":"https://api.github.com/users/raghuraju/orgs","repos_url":"https://api.github.com/users/raghuraju/repos","events_url":"https://api.github.com/users/raghuraju/events{/privacy}","received_events_url":"https://api.github.com/users/raghuraju/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raghuraju/django-multidb-router","description":"Round-robin master/slave db router for Django.","fork":true,"url":"https://api.github.com/repos/raghuraju/django-multidb-router","forks_url":"https://api.github.com/repos/raghuraju/django-multidb-router/forks","keys_url":"https://api.github.com/repos/raghuraju/django-multidb-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raghuraju/django-multidb-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raghuraju/django-multidb-router/teams","hooks_url":"https://api.github.com/repos/raghuraju/django-multidb-router/hooks","issue_events_url":"https://api.github.com/repos/raghuraju/django-multidb-router/issues/events{/number}","events_url":"https://api.github.com/repos/raghuraju/django-multidb-router/events","assignees_url":"https://api.github.com/repos/raghuraju/django-multidb-router/assignees{/user}","branches_url":"https://api.github.com/repos/raghuraju/django-multidb-router/branches{/branch}","tags_url":"https://api.github.com/repos/raghuraju/django-multidb-router/tags","blobs_url":"https://api.github.com/repos/raghuraju/django-multidb-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raghuraju/django-multidb-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raghuraju/django-multidb-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/raghuraju/django-multidb-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raghuraju/django-multidb-router/statuses/{sha}","languages_url":"https://api.github.com/repos/raghuraju/django-multidb-router/languages","stargazers_url":"https://api.github.com/repos/raghuraju/django-multidb-router/stargazers","contributors_url":"https://api.github.com/repos/raghuraju/django-multidb-router/contributors","subscribers_url":"https://api.github.com/repos/raghuraju/django-multidb-router/subscribers","subscription_url":"https://api.github.com/repos/raghuraju/django-multidb-router/subscription","commits_url":"https://api.github.com/repos/raghuraju/django-multidb-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/raghuraju/django-multidb-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/raghuraju/django-multidb-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/raghuraju/django-multidb-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/raghuraju/django-multidb-router/contents/{+path}","compare_url":"https://api.github.com/repos/raghuraju/django-multidb-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raghuraju/django-multidb-router/merges","archive_url":"https://api.github.com/repos/raghuraju/django-multidb-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raghuraju/django-multidb-router/downloads","issues_url":"https://api.github.com/repos/raghuraju/django-multidb-router/issues{/number}","pulls_url":"https://api.github.com/repos/raghuraju/django-multidb-router/pulls{/number}","milestones_url":"https://api.github.com/repos/raghuraju/django-multidb-router/milestones{/number}","notifications_url":"https://api.github.com/repos/raghuraju/django-multidb-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raghuraju/django-multidb-router/labels{/name}","releases_url":"https://api.github.com/repos/raghuraju/django-multidb-router/releases{/id}","deployments_url":"https://api.github.com/repos/raghuraju/django-multidb-router/deployments","created_at":"2016-07-28T10:53:00Z","updated_at":"2016-07-28T10:53:01Z","pushed_at":"2016-07-28T12:05:13Z","git_url":"git://github.com/raghuraju/django-multidb-router.git","ssh_url":"git@github.com:raghuraju/django-multidb-router.git","clone_url":"https://github.com/raghuraju/django-multidb-router.git","svn_url":"https://github.com/raghuraju/django-multidb-router","homepage":"http://jbalogh.me/projects/multidb-router","size":40,"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":"jbalogh:master","ref":"master","sha":"9de58e59cef64695411e1714b43512e924a025d6","user":{"login":"jbalogh","id":57258,"avatar_url":"https://avatars.githubusercontent.com/u/57258?v=3","gravatar_id":"","url":"https://api.github.com/users/jbalogh","html_url":"https://github.com/jbalogh","followers_url":"https://api.github.com/users/jbalogh/followers","following_url":"https://api.github.com/users/jbalogh/following{/other_user}","gists_url":"https://api.github.com/users/jbalogh/gists{/gist_id}","starred_url":"https://api.github.com/users/jbalogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbalogh/subscriptions","organizations_url":"https://api.github.com/users/jbalogh/orgs","repos_url":"https://api.github.com/users/jbalogh/repos","events_url":"https://api.github.com/users/jbalogh/events{/privacy}","received_events_url":"https://api.github.com/users/jbalogh/received_events","type":"User","site_admin":false},"repo":{"id":509684,"name":"django-multidb-router","full_name":"jbalogh/django-multidb-router","owner":{"login":"jbalogh","id":57258,"avatar_url":"https://avatars.githubusercontent.com/u/57258?v=3","gravatar_id":"","url":"https://api.github.com/users/jbalogh","html_url":"https://github.com/jbalogh","followers_url":"https://api.github.com/users/jbalogh/followers","following_url":"https://api.github.com/users/jbalogh/following{/other_user}","gists_url":"https://api.github.com/users/jbalogh/gists{/gist_id}","starred_url":"https://api.github.com/users/jbalogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbalogh/subscriptions","organizations_url":"https://api.github.com/users/jbalogh/orgs","repos_url":"https://api.github.com/users/jbalogh/repos","events_url":"https://api.github.com/users/jbalogh/events{/privacy}","received_events_url":"https://api.github.com/users/jbalogh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbalogh/django-multidb-router","description":"Round-robin master/slave db router for Django.","fork":false,"url":"https://api.github.com/repos/jbalogh/django-multidb-router","forks_url":"https://api.github.com/repos/jbalogh/django-multidb-router/forks","keys_url":"https://api.github.com/repos/jbalogh/django-multidb-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbalogh/django-multidb-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbalogh/django-multidb-router/teams","hooks_url":"https://api.github.com/repos/jbalogh/django-multidb-router/hooks","issue_events_url":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/events{/number}","events_url":"https://api.github.com/repos/jbalogh/django-multidb-router/events","assignees_url":"https://api.github.com/repos/jbalogh/django-multidb-router/assignees{/user}","branches_url":"https://api.github.com/repos/jbalogh/django-multidb-router/branches{/branch}","tags_url":"https://api.github.com/repos/jbalogh/django-multidb-router/tags","blobs_url":"https://api.github.com/repos/jbalogh/django-multidb-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbalogh/django-multidb-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbalogh/django-multidb-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbalogh/django-multidb-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbalogh/django-multidb-router/statuses/{sha}","languages_url":"https://api.github.com/repos/jbalogh/django-multidb-router/languages","stargazers_url":"https://api.github.com/repos/jbalogh/django-multidb-router/stargazers","contributors_url":"https://api.github.com/repos/jbalogh/django-multidb-router/contributors","subscribers_url":"https://api.github.com/repos/jbalogh/django-multidb-router/subscribers","subscription_url":"https://api.github.com/repos/jbalogh/django-multidb-router/subscription","commits_url":"https://api.github.com/repos/jbalogh/django-multidb-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbalogh/django-multidb-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbalogh/django-multidb-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbalogh/django-multidb-router/contents/{+path}","compare_url":"https://api.github.com/repos/jbalogh/django-multidb-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbalogh/django-multidb-router/merges","archive_url":"https://api.github.com/repos/jbalogh/django-multidb-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbalogh/django-multidb-router/downloads","issues_url":"https://api.github.com/repos/jbalogh/django-multidb-router/issues{/number}","pulls_url":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls{/number}","milestones_url":"https://api.github.com/repos/jbalogh/django-multidb-router/milestones{/number}","notifications_url":"https://api.github.com/repos/jbalogh/django-multidb-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbalogh/django-multidb-router/labels{/name}","releases_url":"https://api.github.com/repos/jbalogh/django-multidb-router/releases{/id}","deployments_url":"https://api.github.com/repos/jbalogh/django-multidb-router/deployments","created_at":"2010-02-09T15:58:32Z","updated_at":"2016-08-20T08:41:53Z","pushed_at":"2016-07-28T12:05:13Z","git_url":"git://github.com/jbalogh/django-multidb-router.git","ssh_url":"git@github.com:jbalogh/django-multidb-router.git","clone_url":"https://github.com/jbalogh/django-multidb-router.git","svn_url":"https://github.com/jbalogh/django-multidb-router","homepage":"http://jbalogh.me/projects/multidb-router","size":290,"stargazers_count":208,"watchers_count":208,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":9,"forks":37,"open_issues":9,"watchers":208,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30"},"html":{"href":"https://github.com/jbalogh/django-multidb-router/pull/30"},"issue":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/30"},"comments":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/jbalogh/django-multidb-router/statuses/0928855975e27a9912096eb4d57a9923447b5fcd"}}}}
{"actor":{"display_login":"jsocol"}}