{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9","id":31278246,"html_url":"https://github.com/theirc/rapidsms-multitenancy/pull/9","diff_url":"https://github.com/theirc/rapidsms-multitenancy/pull/9.diff","patch_url":"https://github.com/theirc/rapidsms-multitenancy/pull/9.patch","issue_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/9","number":9,"state":"open","locked":false,"title":"If tenant is not saved yet, then grab it from cleaned_data","user":{"login":"vkurup","id":4413,"avatar_url":"https://avatars.githubusercontent.com/u/4413?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurup","html_url":"https://github.com/vkurup","followers_url":"https://api.github.com/users/vkurup/followers","following_url":"https://api.github.com/users/vkurup/following{/other_user}","gists_url":"https://api.github.com/users/vkurup/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurup/subscriptions","organizations_url":"https://api.github.com/users/vkurup/orgs","repos_url":"https://api.github.com/users/vkurup/repos","events_url":"https://api.github.com/users/vkurup/events{/privacy}","received_events_url":"https://api.github.com/users/vkurup/received_events","type":"User","site_admin":false},"body":"Addresses #8.\r\n\r\nNot sure how to test this... ","created_at":"2015-03-16T19:54:33Z","updated_at":"2015-03-16T19:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9/commits","review_comments_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9/comments","review_comment_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/9/comments","statuses_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/statuses/296f7dbcb4c45f5dd333326969f7d7f5b646cf04","head":{"label":"theirc:feature/8-specify-manager-during-tenant-creation","ref":"feature/8-specify-manager-during-tenant-creation","sha":"296f7dbcb4c45f5dd333326969f7d7f5b646cf04","user":{"login":"theirc","id":1713155,"avatar_url":"https://avatars.githubusercontent.com/u/1713155?v=3","gravatar_id":"","url":"https://api.github.com/users/theirc","html_url":"https://github.com/theirc","followers_url":"https://api.github.com/users/theirc/followers","following_url":"https://api.github.com/users/theirc/following{/other_user}","gists_url":"https://api.github.com/users/theirc/gists{/gist_id}","starred_url":"https://api.github.com/users/theirc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theirc/subscriptions","organizations_url":"https://api.github.com/users/theirc/orgs","repos_url":"https://api.github.com/users/theirc/repos","events_url":"https://api.github.com/users/theirc/events{/privacy}","received_events_url":"https://api.github.com/users/theirc/received_events","type":"Organization","site_admin":false},"repo":{"id":20722384,"name":"rapidsms-multitenancy","full_name":"theirc/rapidsms-multitenancy","owner":{"login":"theirc","id":1713155,"avatar_url":"https://avatars.githubusercontent.com/u/1713155?v=3","gravatar_id":"","url":"https://api.github.com/users/theirc","html_url":"https://github.com/theirc","followers_url":"https://api.github.com/users/theirc/followers","following_url":"https://api.github.com/users/theirc/following{/other_user}","gists_url":"https://api.github.com/users/theirc/gists{/gist_id}","starred_url":"https://api.github.com/users/theirc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theirc/subscriptions","organizations_url":"https://api.github.com/users/theirc/orgs","repos_url":"https://api.github.com/users/theirc/repos","events_url":"https://api.github.com/users/theirc/events{/privacy}","received_events_url":"https://api.github.com/users/theirc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theirc/rapidsms-multitenancy","description":"Host multiple RapidSMS instances in one cohesive project.","fork":false,"url":"https://api.github.com/repos/theirc/rapidsms-multitenancy","forks_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/forks","keys_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/teams","hooks_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/hooks","issue_events_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/events{/number}","events_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/events","assignees_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/assignees{/user}","branches_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/branches{/branch}","tags_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/tags","blobs_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/statuses/{sha}","languages_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/languages","stargazers_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/stargazers","contributors_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/contributors","subscribers_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/subscribers","subscription_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/subscription","commits_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/contents/{+path}","compare_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/merges","archive_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/downloads","issues_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues{/number}","pulls_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls{/number}","milestones_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/milestones{/number}","notifications_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/labels{/name}","releases_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/releases{/id}","created_at":"2014-06-11T11:12:40Z","updated_at":"2015-03-03T18:07:44Z","pushed_at":"2015-03-16T19:53:48Z","git_url":"git://github.com/theirc/rapidsms-multitenancy.git","ssh_url":"git@github.com:theirc/rapidsms-multitenancy.git","clone_url":"https://github.com/theirc/rapidsms-multitenancy.git","svn_url":"https://github.com/theirc/rapidsms-multitenancy","homepage":"","size":205,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"theirc:develop","ref":"develop","sha":"e59d18ed3270cc11138247d3dbd42cab05c9e0ee","user":{"login":"theirc","id":1713155,"avatar_url":"https://avatars.githubusercontent.com/u/1713155?v=3","gravatar_id":"","url":"https://api.github.com/users/theirc","html_url":"https://github.com/theirc","followers_url":"https://api.github.com/users/theirc/followers","following_url":"https://api.github.com/users/theirc/following{/other_user}","gists_url":"https://api.github.com/users/theirc/gists{/gist_id}","starred_url":"https://api.github.com/users/theirc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theirc/subscriptions","organizations_url":"https://api.github.com/users/theirc/orgs","repos_url":"https://api.github.com/users/theirc/repos","events_url":"https://api.github.com/users/theirc/events{/privacy}","received_events_url":"https://api.github.com/users/theirc/received_events","type":"Organization","site_admin":false},"repo":{"id":20722384,"name":"rapidsms-multitenancy","full_name":"theirc/rapidsms-multitenancy","owner":{"login":"theirc","id":1713155,"avatar_url":"https://avatars.githubusercontent.com/u/1713155?v=3","gravatar_id":"","url":"https://api.github.com/users/theirc","html_url":"https://github.com/theirc","followers_url":"https://api.github.com/users/theirc/followers","following_url":"https://api.github.com/users/theirc/following{/other_user}","gists_url":"https://api.github.com/users/theirc/gists{/gist_id}","starred_url":"https://api.github.com/users/theirc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theirc/subscriptions","organizations_url":"https://api.github.com/users/theirc/orgs","repos_url":"https://api.github.com/users/theirc/repos","events_url":"https://api.github.com/users/theirc/events{/privacy}","received_events_url":"https://api.github.com/users/theirc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theirc/rapidsms-multitenancy","description":"Host multiple RapidSMS instances in one cohesive project.","fork":false,"url":"https://api.github.com/repos/theirc/rapidsms-multitenancy","forks_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/forks","keys_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/teams","hooks_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/hooks","issue_events_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/events{/number}","events_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/events","assignees_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/assignees{/user}","branches_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/branches{/branch}","tags_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/tags","blobs_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/statuses/{sha}","languages_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/languages","stargazers_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/stargazers","contributors_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/contributors","subscribers_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/subscribers","subscription_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/subscription","commits_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/contents/{+path}","compare_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/merges","archive_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/downloads","issues_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues{/number}","pulls_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls{/number}","milestones_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/milestones{/number}","notifications_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/labels{/name}","releases_url":"https://api.github.com/repos/theirc/rapidsms-multitenancy/releases{/id}","created_at":"2014-06-11T11:12:40Z","updated_at":"2015-03-03T18:07:44Z","pushed_at":"2015-03-16T19:53:48Z","git_url":"git://github.com/theirc/rapidsms-multitenancy.git","ssh_url":"git@github.com:theirc/rapidsms-multitenancy.git","clone_url":"https://github.com/theirc/rapidsms-multitenancy.git","svn_url":"https://github.com/theirc/rapidsms-multitenancy","homepage":"","size":205,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9"},"html":{"href":"https://github.com/theirc/rapidsms-multitenancy/pull/9"},"issue":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/9"},"comments":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/theirc/rapidsms-multitenancy/statuses/296f7dbcb4c45f5dd333326969f7d7f5b646cf04"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}