{"action":"created","comment":{"url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/comments/62797266","id":62797266,"diff_hunk":"@@ -0,0 +1,7 @@\n+from flask_wtf import Form\n+from wtforms import TextField, PasswordField, SubmitField, validators\n+\n+class Formulario(Form):\n+    username = TextField('Login', [validators.Required('Insira login.'), validators.Length(min=4, max=30)])\n+    password = PasswordField('Senha', [validators.Required('Insira sua senha.'), validators.Length(min=6, max=16)])\n+    submit = SubmitField('Enviar')","path":"helloproject/views/forms.py","position":7,"original_position":7,"commit_id":"60f60be7b0d5cdf86b15c076fe6349b2a5ff4784","original_commit_id":"60f60be7b0d5cdf86b15c076fe6349b2a5ff4784","user":{"login":"joalisson","id":5086468,"avatar_url":"https://avatars.githubusercontent.com/u/5086468?v=3","gravatar_id":"","url":"https://api.github.com/users/joalisson","html_url":"https://github.com/joalisson","followers_url":"https://api.github.com/users/joalisson/followers","following_url":"https://api.github.com/users/joalisson/following{/other_user}","gists_url":"https://api.github.com/users/joalisson/gists{/gist_id}","starred_url":"https://api.github.com/users/joalisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joalisson/subscriptions","organizations_url":"https://api.github.com/users/joalisson/orgs","repos_url":"https://api.github.com/users/joalisson/repos","events_url":"https://api.github.com/users/joalisson/events{/privacy}","received_events_url":"https://api.github.com/users/joalisson/received_events","type":"User","site_admin":false},"body":"Este formulário poderia estar no próprio arquivo `frontend.py` na função login. ","created_at":"2016-05-11T06:30:30Z","updated_at":"2016-05-11T06:30:30Z","html_url":"https://github.com/antoniocsz/python-flask/pull/9#discussion_r62797266","pull_request_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/comments/62797266"},"html":{"href":"https://github.com/antoniocsz/python-flask/pull/9#discussion_r62797266"},"pull_request":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9","id":69620395,"html_url":"https://github.com/antoniocsz/python-flask/pull/9","diff_url":"https://github.com/antoniocsz/python-flask/pull/9.diff","patch_url":"https://github.com/antoniocsz/python-flask/pull/9.patch","issue_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/9","number":9,"state":"open","locked":false,"title":"Template formulario","user":{"login":"antoniocsz","id":15958158,"avatar_url":"https://avatars.githubusercontent.com/u/15958158?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocsz","html_url":"https://github.com/antoniocsz","followers_url":"https://api.github.com/users/antoniocsz/followers","following_url":"https://api.github.com/users/antoniocsz/following{/other_user}","gists_url":"https://api.github.com/users/antoniocsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocsz/subscriptions","organizations_url":"https://api.github.com/users/antoniocsz/orgs","repos_url":"https://api.github.com/users/antoniocsz/repos","events_url":"https://api.github.com/users/antoniocsz/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocsz/received_events","type":"User","site_admin":false},"body":"Não estou conseguindo passar da tela de login para index.","created_at":"2016-05-11T06:22:15Z","updated_at":"2016-05-11T06:30:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5402a5e411426145942402cb700ceb135ce587f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9/commits","review_comments_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9/comments","review_comment_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/9/comments","statuses_url":"https://api.github.com/repos/antoniocsz/python-flask/statuses/60f60be7b0d5cdf86b15c076fe6349b2a5ff4784","head":{"label":"antoniocsz:template_formulario","ref":"template_formulario","sha":"60f60be7b0d5cdf86b15c076fe6349b2a5ff4784","user":{"login":"antoniocsz","id":15958158,"avatar_url":"https://avatars.githubusercontent.com/u/15958158?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocsz","html_url":"https://github.com/antoniocsz","followers_url":"https://api.github.com/users/antoniocsz/followers","following_url":"https://api.github.com/users/antoniocsz/following{/other_user}","gists_url":"https://api.github.com/users/antoniocsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocsz/subscriptions","organizations_url":"https://api.github.com/users/antoniocsz/orgs","repos_url":"https://api.github.com/users/antoniocsz/repos","events_url":"https://api.github.com/users/antoniocsz/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocsz/received_events","type":"User","site_admin":false},"repo":{"id":55268549,"name":"python-flask","full_name":"antoniocsz/python-flask","owner":{"login":"antoniocsz","id":15958158,"avatar_url":"https://avatars.githubusercontent.com/u/15958158?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocsz","html_url":"https://github.com/antoniocsz","followers_url":"https://api.github.com/users/antoniocsz/followers","following_url":"https://api.github.com/users/antoniocsz/following{/other_user}","gists_url":"https://api.github.com/users/antoniocsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocsz/subscriptions","organizations_url":"https://api.github.com/users/antoniocsz/orgs","repos_url":"https://api.github.com/users/antoniocsz/repos","events_url":"https://api.github.com/users/antoniocsz/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocsz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antoniocsz/python-flask","description":"","fork":false,"url":"https://api.github.com/repos/antoniocsz/python-flask","forks_url":"https://api.github.com/repos/antoniocsz/python-flask/forks","keys_url":"https://api.github.com/repos/antoniocsz/python-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antoniocsz/python-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antoniocsz/python-flask/teams","hooks_url":"https://api.github.com/repos/antoniocsz/python-flask/hooks","issue_events_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/events{/number}","events_url":"https://api.github.com/repos/antoniocsz/python-flask/events","assignees_url":"https://api.github.com/repos/antoniocsz/python-flask/assignees{/user}","branches_url":"https://api.github.com/repos/antoniocsz/python-flask/branches{/branch}","tags_url":"https://api.github.com/repos/antoniocsz/python-flask/tags","blobs_url":"https://api.github.com/repos/antoniocsz/python-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antoniocsz/python-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antoniocsz/python-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/antoniocsz/python-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antoniocsz/python-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/antoniocsz/python-flask/languages","stargazers_url":"https://api.github.com/repos/antoniocsz/python-flask/stargazers","contributors_url":"https://api.github.com/repos/antoniocsz/python-flask/contributors","subscribers_url":"https://api.github.com/repos/antoniocsz/python-flask/subscribers","subscription_url":"https://api.github.com/repos/antoniocsz/python-flask/subscription","commits_url":"https://api.github.com/repos/antoniocsz/python-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/antoniocsz/python-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/antoniocsz/python-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/antoniocsz/python-flask/contents/{+path}","compare_url":"https://api.github.com/repos/antoniocsz/python-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antoniocsz/python-flask/merges","archive_url":"https://api.github.com/repos/antoniocsz/python-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antoniocsz/python-flask/downloads","issues_url":"https://api.github.com/repos/antoniocsz/python-flask/issues{/number}","pulls_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/antoniocsz/python-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/antoniocsz/python-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antoniocsz/python-flask/labels{/name}","releases_url":"https://api.github.com/repos/antoniocsz/python-flask/releases{/id}","deployments_url":"https://api.github.com/repos/antoniocsz/python-flask/deployments","created_at":"2016-04-01T23:39:57Z","updated_at":"2016-04-30T03:53:46Z","pushed_at":"2016-05-11T06:22:15Z","git_url":"git://github.com/antoniocsz/python-flask.git","ssh_url":"git@github.com:antoniocsz/python-flask.git","clone_url":"https://github.com/antoniocsz/python-flask.git","svn_url":"https://github.com/antoniocsz/python-flask","homepage":null,"size":11,"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":"master"}},"base":{"label":"antoniocsz:master","ref":"master","sha":"0b930b024f62a59733a5453ae4ee6206ab2f9f3f","user":{"login":"antoniocsz","id":15958158,"avatar_url":"https://avatars.githubusercontent.com/u/15958158?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocsz","html_url":"https://github.com/antoniocsz","followers_url":"https://api.github.com/users/antoniocsz/followers","following_url":"https://api.github.com/users/antoniocsz/following{/other_user}","gists_url":"https://api.github.com/users/antoniocsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocsz/subscriptions","organizations_url":"https://api.github.com/users/antoniocsz/orgs","repos_url":"https://api.github.com/users/antoniocsz/repos","events_url":"https://api.github.com/users/antoniocsz/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocsz/received_events","type":"User","site_admin":false},"repo":{"id":55268549,"name":"python-flask","full_name":"antoniocsz/python-flask","owner":{"login":"antoniocsz","id":15958158,"avatar_url":"https://avatars.githubusercontent.com/u/15958158?v=3","gravatar_id":"","url":"https://api.github.com/users/antoniocsz","html_url":"https://github.com/antoniocsz","followers_url":"https://api.github.com/users/antoniocsz/followers","following_url":"https://api.github.com/users/antoniocsz/following{/other_user}","gists_url":"https://api.github.com/users/antoniocsz/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocsz/subscriptions","organizations_url":"https://api.github.com/users/antoniocsz/orgs","repos_url":"https://api.github.com/users/antoniocsz/repos","events_url":"https://api.github.com/users/antoniocsz/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocsz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antoniocsz/python-flask","description":"","fork":false,"url":"https://api.github.com/repos/antoniocsz/python-flask","forks_url":"https://api.github.com/repos/antoniocsz/python-flask/forks","keys_url":"https://api.github.com/repos/antoniocsz/python-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antoniocsz/python-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antoniocsz/python-flask/teams","hooks_url":"https://api.github.com/repos/antoniocsz/python-flask/hooks","issue_events_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/events{/number}","events_url":"https://api.github.com/repos/antoniocsz/python-flask/events","assignees_url":"https://api.github.com/repos/antoniocsz/python-flask/assignees{/user}","branches_url":"https://api.github.com/repos/antoniocsz/python-flask/branches{/branch}","tags_url":"https://api.github.com/repos/antoniocsz/python-flask/tags","blobs_url":"https://api.github.com/repos/antoniocsz/python-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antoniocsz/python-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antoniocsz/python-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/antoniocsz/python-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antoniocsz/python-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/antoniocsz/python-flask/languages","stargazers_url":"https://api.github.com/repos/antoniocsz/python-flask/stargazers","contributors_url":"https://api.github.com/repos/antoniocsz/python-flask/contributors","subscribers_url":"https://api.github.com/repos/antoniocsz/python-flask/subscribers","subscription_url":"https://api.github.com/repos/antoniocsz/python-flask/subscription","commits_url":"https://api.github.com/repos/antoniocsz/python-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/antoniocsz/python-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/antoniocsz/python-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/antoniocsz/python-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/antoniocsz/python-flask/contents/{+path}","compare_url":"https://api.github.com/repos/antoniocsz/python-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antoniocsz/python-flask/merges","archive_url":"https://api.github.com/repos/antoniocsz/python-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antoniocsz/python-flask/downloads","issues_url":"https://api.github.com/repos/antoniocsz/python-flask/issues{/number}","pulls_url":"https://api.github.com/repos/antoniocsz/python-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/antoniocsz/python-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/antoniocsz/python-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antoniocsz/python-flask/labels{/name}","releases_url":"https://api.github.com/repos/antoniocsz/python-flask/releases{/id}","deployments_url":"https://api.github.com/repos/antoniocsz/python-flask/deployments","created_at":"2016-04-01T23:39:57Z","updated_at":"2016-04-30T03:53:46Z","pushed_at":"2016-05-11T06:22:15Z","git_url":"git://github.com/antoniocsz/python-flask.git","ssh_url":"git@github.com:antoniocsz/python-flask.git","clone_url":"https://github.com/antoniocsz/python-flask.git","svn_url":"https://github.com/antoniocsz/python-flask","homepage":null,"size":11,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9"},"html":{"href":"https://github.com/antoniocsz/python-flask/pull/9"},"issue":{"href":"https://api.github.com/repos/antoniocsz/python-flask/issues/9"},"comments":{"href":"https://api.github.com/repos/antoniocsz/python-flask/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/antoniocsz/python-flask/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/antoniocsz/python-flask/statuses/60f60be7b0d5cdf86b15c076fe6349b2a5ff4784"}}}}