{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/swappsco/aws-cd/pulls/1","id":52024428,"html_url":"https://github.com/swappsco/aws-cd/pull/1","diff_url":"https://github.com/swappsco/aws-cd/pull/1.diff","patch_url":"https://github.com/swappsco/aws-cd/pull/1.patch","issue_url":"https://api.github.com/repos/swappsco/aws-cd/issues/1","number":1,"state":"open","locked":false,"title":"Un aportecito","user":{"login":"sebastian-code","id":5254850,"avatar_url":"https://avatars.githubusercontent.com/u/5254850?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-code","html_url":"https://github.com/sebastian-code","followers_url":"https://api.github.com/users/sebastian-code/followers","following_url":"https://api.github.com/users/sebastian-code/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-code/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-code/subscriptions","organizations_url":"https://api.github.com/users/sebastian-code/orgs","repos_url":"https://api.github.com/users/sebastian-code/repos","events_url":"https://api.github.com/users/sebastian-code/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-code/received_events","type":"User","site_admin":false},"body":"Todavía no comprendo bien la librería, pero creo que esto podría simplificar un par de cosas, y además me gusta mucho el uso de variables de entorno con django-dotenv, así que le puse un poco de python-dotenv, lo que además permite sacar incluso la pregunta interactiva.\r\n\r\nTambién acorte un poco la función de contraseña aleatoria, y le añadí un poco de complejidad para que sea una contraseña mas segura, solo es necesario incrementar el valor suministrado a la función range para que entregue una clave mas larga.","created_at":"2015-11-27T21:12:54Z","updated_at":"2015-11-27T21:12:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d66da1c4d8a9dc22febabae7b590ed7e8f0d3179","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swappsco/aws-cd/pulls/1/commits","review_comments_url":"https://api.github.com/repos/swappsco/aws-cd/pulls/1/comments","review_comment_url":"https://api.github.com/repos/swappsco/aws-cd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swappsco/aws-cd/issues/1/comments","statuses_url":"https://api.github.com/repos/swappsco/aws-cd/statuses/69ce7e45fb03f4eb3a7403937dda23348379c01b","head":{"label":"sebastian-code:master","ref":"master","sha":"69ce7e45fb03f4eb3a7403937dda23348379c01b","user":{"login":"sebastian-code","id":5254850,"avatar_url":"https://avatars.githubusercontent.com/u/5254850?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-code","html_url":"https://github.com/sebastian-code","followers_url":"https://api.github.com/users/sebastian-code/followers","following_url":"https://api.github.com/users/sebastian-code/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-code/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-code/subscriptions","organizations_url":"https://api.github.com/users/sebastian-code/orgs","repos_url":"https://api.github.com/users/sebastian-code/repos","events_url":"https://api.github.com/users/sebastian-code/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-code/received_events","type":"User","site_admin":false},"repo":{"id":46998779,"name":"aws-cd","full_name":"sebastian-code/aws-cd","owner":{"login":"sebastian-code","id":5254850,"avatar_url":"https://avatars.githubusercontent.com/u/5254850?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-code","html_url":"https://github.com/sebastian-code","followers_url":"https://api.github.com/users/sebastian-code/followers","following_url":"https://api.github.com/users/sebastian-code/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-code/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-code/subscriptions","organizations_url":"https://api.github.com/users/sebastian-code/orgs","repos_url":"https://api.github.com/users/sebastian-code/repos","events_url":"https://api.github.com/users/sebastian-code/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-code/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebastian-code/aws-cd","description":"Scripts for continuous delivery setup","fork":true,"url":"https://api.github.com/repos/sebastian-code/aws-cd","forks_url":"https://api.github.com/repos/sebastian-code/aws-cd/forks","keys_url":"https://api.github.com/repos/sebastian-code/aws-cd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastian-code/aws-cd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastian-code/aws-cd/teams","hooks_url":"https://api.github.com/repos/sebastian-code/aws-cd/hooks","issue_events_url":"https://api.github.com/repos/sebastian-code/aws-cd/issues/events{/number}","events_url":"https://api.github.com/repos/sebastian-code/aws-cd/events","assignees_url":"https://api.github.com/repos/sebastian-code/aws-cd/assignees{/user}","branches_url":"https://api.github.com/repos/sebastian-code/aws-cd/branches{/branch}","tags_url":"https://api.github.com/repos/sebastian-code/aws-cd/tags","blobs_url":"https://api.github.com/repos/sebastian-code/aws-cd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastian-code/aws-cd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastian-code/aws-cd/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastian-code/aws-cd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastian-code/aws-cd/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastian-code/aws-cd/languages","stargazers_url":"https://api.github.com/repos/sebastian-code/aws-cd/stargazers","contributors_url":"https://api.github.com/repos/sebastian-code/aws-cd/contributors","subscribers_url":"https://api.github.com/repos/sebastian-code/aws-cd/subscribers","subscription_url":"https://api.github.com/repos/sebastian-code/aws-cd/subscription","commits_url":"https://api.github.com/repos/sebastian-code/aws-cd/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastian-code/aws-cd/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastian-code/aws-cd/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastian-code/aws-cd/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastian-code/aws-cd/contents/{+path}","compare_url":"https://api.github.com/repos/sebastian-code/aws-cd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastian-code/aws-cd/merges","archive_url":"https://api.github.com/repos/sebastian-code/aws-cd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastian-code/aws-cd/downloads","issues_url":"https://api.github.com/repos/sebastian-code/aws-cd/issues{/number}","pulls_url":"https://api.github.com/repos/sebastian-code/aws-cd/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastian-code/aws-cd/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastian-code/aws-cd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastian-code/aws-cd/labels{/name}","releases_url":"https://api.github.com/repos/sebastian-code/aws-cd/releases{/id}","created_at":"2015-11-27T20:48:50Z","updated_at":"2015-11-27T20:48:51Z","pushed_at":"2015-11-27T21:09:17Z","git_url":"git://github.com/sebastian-code/aws-cd.git","ssh_url":"git@github.com:sebastian-code/aws-cd.git","clone_url":"https://github.com/sebastian-code/aws-cd.git","svn_url":"https://github.com/sebastian-code/aws-cd","homepage":null,"size":4,"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":"swappsco:master","ref":"master","sha":"48cabd4ff44c5314adcc06fb0440e38b0ac77317","user":{"login":"swappsco","id":10089866,"avatar_url":"https://avatars.githubusercontent.com/u/10089866?v=3","gravatar_id":"","url":"https://api.github.com/users/swappsco","html_url":"https://github.com/swappsco","followers_url":"https://api.github.com/users/swappsco/followers","following_url":"https://api.github.com/users/swappsco/following{/other_user}","gists_url":"https://api.github.com/users/swappsco/gists{/gist_id}","starred_url":"https://api.github.com/users/swappsco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swappsco/subscriptions","organizations_url":"https://api.github.com/users/swappsco/orgs","repos_url":"https://api.github.com/users/swappsco/repos","events_url":"https://api.github.com/users/swappsco/events{/privacy}","received_events_url":"https://api.github.com/users/swappsco/received_events","type":"Organization","site_admin":false},"repo":{"id":46996359,"name":"aws-cd","full_name":"swappsco/aws-cd","owner":{"login":"swappsco","id":10089866,"avatar_url":"https://avatars.githubusercontent.com/u/10089866?v=3","gravatar_id":"","url":"https://api.github.com/users/swappsco","html_url":"https://github.com/swappsco","followers_url":"https://api.github.com/users/swappsco/followers","following_url":"https://api.github.com/users/swappsco/following{/other_user}","gists_url":"https://api.github.com/users/swappsco/gists{/gist_id}","starred_url":"https://api.github.com/users/swappsco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swappsco/subscriptions","organizations_url":"https://api.github.com/users/swappsco/orgs","repos_url":"https://api.github.com/users/swappsco/repos","events_url":"https://api.github.com/users/swappsco/events{/privacy}","received_events_url":"https://api.github.com/users/swappsco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swappsco/aws-cd","description":"Scripts for continuous delivery setup","fork":false,"url":"https://api.github.com/repos/swappsco/aws-cd","forks_url":"https://api.github.com/repos/swappsco/aws-cd/forks","keys_url":"https://api.github.com/repos/swappsco/aws-cd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swappsco/aws-cd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swappsco/aws-cd/teams","hooks_url":"https://api.github.com/repos/swappsco/aws-cd/hooks","issue_events_url":"https://api.github.com/repos/swappsco/aws-cd/issues/events{/number}","events_url":"https://api.github.com/repos/swappsco/aws-cd/events","assignees_url":"https://api.github.com/repos/swappsco/aws-cd/assignees{/user}","branches_url":"https://api.github.com/repos/swappsco/aws-cd/branches{/branch}","tags_url":"https://api.github.com/repos/swappsco/aws-cd/tags","blobs_url":"https://api.github.com/repos/swappsco/aws-cd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swappsco/aws-cd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swappsco/aws-cd/git/refs{/sha}","trees_url":"https://api.github.com/repos/swappsco/aws-cd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swappsco/aws-cd/statuses/{sha}","languages_url":"https://api.github.com/repos/swappsco/aws-cd/languages","stargazers_url":"https://api.github.com/repos/swappsco/aws-cd/stargazers","contributors_url":"https://api.github.com/repos/swappsco/aws-cd/contributors","subscribers_url":"https://api.github.com/repos/swappsco/aws-cd/subscribers","subscription_url":"https://api.github.com/repos/swappsco/aws-cd/subscription","commits_url":"https://api.github.com/repos/swappsco/aws-cd/commits{/sha}","git_commits_url":"https://api.github.com/repos/swappsco/aws-cd/git/commits{/sha}","comments_url":"https://api.github.com/repos/swappsco/aws-cd/comments{/number}","issue_comment_url":"https://api.github.com/repos/swappsco/aws-cd/issues/comments{/number}","contents_url":"https://api.github.com/repos/swappsco/aws-cd/contents/{+path}","compare_url":"https://api.github.com/repos/swappsco/aws-cd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swappsco/aws-cd/merges","archive_url":"https://api.github.com/repos/swappsco/aws-cd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swappsco/aws-cd/downloads","issues_url":"https://api.github.com/repos/swappsco/aws-cd/issues{/number}","pulls_url":"https://api.github.com/repos/swappsco/aws-cd/pulls{/number}","milestones_url":"https://api.github.com/repos/swappsco/aws-cd/milestones{/number}","notifications_url":"https://api.github.com/repos/swappsco/aws-cd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swappsco/aws-cd/labels{/name}","releases_url":"https://api.github.com/repos/swappsco/aws-cd/releases{/id}","created_at":"2015-11-27T19:29:40Z","updated_at":"2015-11-27T19:31:31Z","pushed_at":"2015-11-27T21:12:54Z","git_url":"git://github.com/swappsco/aws-cd.git","ssh_url":"git@github.com:swappsco/aws-cd.git","clone_url":"https://github.com/swappsco/aws-cd.git","svn_url":"https://github.com/swappsco/aws-cd","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swappsco/aws-cd/pulls/1"},"html":{"href":"https://github.com/swappsco/aws-cd/pull/1"},"issue":{"href":"https://api.github.com/repos/swappsco/aws-cd/issues/1"},"comments":{"href":"https://api.github.com/repos/swappsco/aws-cd/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/swappsco/aws-cd/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/swappsco/aws-cd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swappsco/aws-cd/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/swappsco/aws-cd/statuses/69ce7e45fb03f4eb3a7403937dda23348379c01b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":36,"deletions":24,"changed_files":2}}