{"action":"created","comment":{"url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/comments/77789064","id":77789064,"diff_hunk":"@@ -17,24 +17,30 @@ def main_page():\n #     applicants = Applicant.select()\n #     return render_template('VALAMI.HTML', applicants=applicants)\n \n-@app.route('/registration', methods=['POST', 'GET'])\n+\n+@app.route('/registration/', methods=['POST', 'GET'])\n def registration():\n     if request.method == 'POST':\n-        new_applicant = Applicant.create(first_name = request.form[\"first_name\"], last_name= request.form[\"last_name\"], hometown= request.form[\"hometown\"],\n-                            status= [\"In Progress\"], application_time = datetime.now())\n-        #flash(\"Registration Successful!\")\n+        new_applicant = Applicant.create(\n+            first_name=request.form[\"first_name\"],\n+            last_name=request.form[\"last_name\"],\n+            hometown=request.form[\"hometown\"],\n+            status=[\"In Progress\"],","path":"app.py","position":35,"original_position":16,"commit_id":"a2d890afa041dde17d54640b59b5a26086a6c82b","original_commit_id":"a2d890afa041dde17d54640b59b5a26086a6c82b","user":{"login":"krs89","id":8104752,"avatar_url":"https://avatars.githubusercontent.com/u/8104752?v=3","gravatar_id":"","url":"https://api.github.com/users/krs89","html_url":"https://github.com/krs89","followers_url":"https://api.github.com/users/krs89/followers","following_url":"https://api.github.com/users/krs89/following{/other_user}","gists_url":"https://api.github.com/users/krs89/gists{/gist_id}","starred_url":"https://api.github.com/users/krs89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krs89/subscriptions","organizations_url":"https://api.github.com/users/krs89/orgs","repos_url":"https://api.github.com/users/krs89/repos","events_url":"https://api.github.com/users/krs89/events{/privacy}","received_events_url":"https://api.github.com/users/krs89/received_events","type":"User","site_admin":false},"body":"sooo this 'in progress' looks weird in the database, it goes in in a bad format","created_at":"2016-09-07T09:30:51Z","updated_at":"2016-09-07T09:30:51Z","html_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3#discussion_r77789064","pull_request_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/comments/77789064"},"html":{"href":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3#discussion_r77789064"},"pull_request":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3","id":84264673,"html_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3","diff_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3.diff","patch_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3.patch","issue_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/3","number":3,"state":"open","locked":false,"title":"Registration route","user":{"login":"matheisson","id":16742295,"avatar_url":"https://avatars.githubusercontent.com/u/16742295?v=3","gravatar_id":"","url":"https://api.github.com/users/matheisson","html_url":"https://github.com/matheisson","followers_url":"https://api.github.com/users/matheisson/followers","following_url":"https://api.github.com/users/matheisson/following{/other_user}","gists_url":"https://api.github.com/users/matheisson/gists{/gist_id}","starred_url":"https://api.github.com/users/matheisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheisson/subscriptions","organizations_url":"https://api.github.com/users/matheisson/orgs","repos_url":"https://api.github.com/users/matheisson/repos","events_url":"https://api.github.com/users/matheisson/events{/privacy}","received_events_url":"https://api.github.com/users/matheisson/received_events","type":"User","site_admin":false},"body":"Test pull request","created_at":"2016-09-07T09:21:27Z","updated_at":"2016-09-07T09:30:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c210902c47a3252412a9b8ee67ff9799cf3b6999","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3/commits","review_comments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3/comments","review_comment_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/3/comments","statuses_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/statuses/a2d890afa041dde17d54640b59b5a26086a6c82b","head":{"label":"CodecoolBP20161:registration-route","ref":"registration-route","sha":"a2d890afa041dde17d54640b59b5a26086a6c82b","user":{"login":"CodecoolBP20161","id":19305404,"avatar_url":"https://avatars.githubusercontent.com/u/19305404?v=3","gravatar_id":"","url":"https://api.github.com/users/CodecoolBP20161","html_url":"https://github.com/CodecoolBP20161","followers_url":"https://api.github.com/users/CodecoolBP20161/followers","following_url":"https://api.github.com/users/CodecoolBP20161/following{/other_user}","gists_url":"https://api.github.com/users/CodecoolBP20161/gists{/gist_id}","starred_url":"https://api.github.com/users/CodecoolBP20161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodecoolBP20161/subscriptions","organizations_url":"https://api.github.com/users/CodecoolBP20161/orgs","repos_url":"https://api.github.com/users/CodecoolBP20161/repos","events_url":"https://api.github.com/users/CodecoolBP20161/events{/privacy}","received_events_url":"https://api.github.com/users/CodecoolBP20161/received_events","type":"Organization","site_admin":false},"repo":{"id":64206219,"name":"python-school-system-with-orm-post-it","full_name":"CodecoolBP20161/python-school-system-with-orm-post-it","owner":{"login":"CodecoolBP20161","id":19305404,"avatar_url":"https://avatars.githubusercontent.com/u/19305404?v=3","gravatar_id":"","url":"https://api.github.com/users/CodecoolBP20161","html_url":"https://github.com/CodecoolBP20161","followers_url":"https://api.github.com/users/CodecoolBP20161/followers","following_url":"https://api.github.com/users/CodecoolBP20161/following{/other_user}","gists_url":"https://api.github.com/users/CodecoolBP20161/gists{/gist_id}","starred_url":"https://api.github.com/users/CodecoolBP20161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodecoolBP20161/subscriptions","organizations_url":"https://api.github.com/users/CodecoolBP20161/orgs","repos_url":"https://api.github.com/users/CodecoolBP20161/repos","events_url":"https://api.github.com/users/CodecoolBP20161/events{/privacy}","received_events_url":"https://api.github.com/users/CodecoolBP20161/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it","description":"python-school-system-with-orm-post-it created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it","forks_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/forks","keys_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/teams","hooks_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/hooks","issue_events_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/events{/number}","events_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/events","assignees_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/assignees{/user}","branches_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/branches{/branch}","tags_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/tags","blobs_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/statuses/{sha}","languages_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/languages","stargazers_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/stargazers","contributors_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/contributors","subscribers_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/subscribers","subscription_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/subscription","commits_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/contents/{+path}","compare_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/merges","archive_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/downloads","issues_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues{/number}","pulls_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls{/number}","milestones_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/milestones{/number}","notifications_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/labels{/name}","releases_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/releases{/id}","deployments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/deployments","created_at":"2016-07-26T08:57:53Z","updated_at":"2016-07-26T08:58:01Z","pushed_at":"2016-09-07T09:21:27Z","git_url":"git://github.com/CodecoolBP20161/python-school-system-with-orm-post-it.git","ssh_url":"git@github.com:CodecoolBP20161/python-school-system-with-orm-post-it.git","clone_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it.git","svn_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it","homepage":null,"size":33,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"CodecoolBP20161:develop","ref":"develop","sha":"df3e2ec9d6a770ac6e899dae818d742e51401ed5","user":{"login":"CodecoolBP20161","id":19305404,"avatar_url":"https://avatars.githubusercontent.com/u/19305404?v=3","gravatar_id":"","url":"https://api.github.com/users/CodecoolBP20161","html_url":"https://github.com/CodecoolBP20161","followers_url":"https://api.github.com/users/CodecoolBP20161/followers","following_url":"https://api.github.com/users/CodecoolBP20161/following{/other_user}","gists_url":"https://api.github.com/users/CodecoolBP20161/gists{/gist_id}","starred_url":"https://api.github.com/users/CodecoolBP20161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodecoolBP20161/subscriptions","organizations_url":"https://api.github.com/users/CodecoolBP20161/orgs","repos_url":"https://api.github.com/users/CodecoolBP20161/repos","events_url":"https://api.github.com/users/CodecoolBP20161/events{/privacy}","received_events_url":"https://api.github.com/users/CodecoolBP20161/received_events","type":"Organization","site_admin":false},"repo":{"id":64206219,"name":"python-school-system-with-orm-post-it","full_name":"CodecoolBP20161/python-school-system-with-orm-post-it","owner":{"login":"CodecoolBP20161","id":19305404,"avatar_url":"https://avatars.githubusercontent.com/u/19305404?v=3","gravatar_id":"","url":"https://api.github.com/users/CodecoolBP20161","html_url":"https://github.com/CodecoolBP20161","followers_url":"https://api.github.com/users/CodecoolBP20161/followers","following_url":"https://api.github.com/users/CodecoolBP20161/following{/other_user}","gists_url":"https://api.github.com/users/CodecoolBP20161/gists{/gist_id}","starred_url":"https://api.github.com/users/CodecoolBP20161/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodecoolBP20161/subscriptions","organizations_url":"https://api.github.com/users/CodecoolBP20161/orgs","repos_url":"https://api.github.com/users/CodecoolBP20161/repos","events_url":"https://api.github.com/users/CodecoolBP20161/events{/privacy}","received_events_url":"https://api.github.com/users/CodecoolBP20161/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it","description":"python-school-system-with-orm-post-it created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it","forks_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/forks","keys_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/teams","hooks_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/hooks","issue_events_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/events{/number}","events_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/events","assignees_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/assignees{/user}","branches_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/branches{/branch}","tags_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/tags","blobs_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/statuses/{sha}","languages_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/languages","stargazers_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/stargazers","contributors_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/contributors","subscribers_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/subscribers","subscription_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/subscription","commits_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/contents/{+path}","compare_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/merges","archive_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/downloads","issues_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues{/number}","pulls_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls{/number}","milestones_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/milestones{/number}","notifications_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/labels{/name}","releases_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/releases{/id}","deployments_url":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/deployments","created_at":"2016-07-26T08:57:53Z","updated_at":"2016-07-26T08:58:01Z","pushed_at":"2016-09-07T09:21:27Z","git_url":"git://github.com/CodecoolBP20161/python-school-system-with-orm-post-it.git","ssh_url":"git@github.com:CodecoolBP20161/python-school-system-with-orm-post-it.git","clone_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it.git","svn_url":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it","homepage":null,"size":33,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3"},"html":{"href":"https://github.com/CodecoolBP20161/python-school-system-with-orm-post-it/pull/3"},"issue":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/3"},"comments":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/CodecoolBP20161/python-school-system-with-orm-post-it/statuses/a2d890afa041dde17d54640b59b5a26086a6c82b"}}}}
{"actor":{"display_login":"krs89"}}