{"action":"created","comment":{"url":"https://api.github.com/repos/LeonidShreder/homework/pulls/comments/231492602","pull_request_review_id":172472153,"id":231492602,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTQ5MjYwMg==","diff_hunk":"@@ -0,0 +1,21 @@\n+from sqlalchemy import orm\n+from sqlalchemy.dialects.postgresql import JSON\n+from flask_sqlalchemy import SQLAlchemy, sqlalchemy.orm\n+from sqlalchemy.ext.declarative import declarative_base\n+from sqlalchemy.orm import relationship, backref\n+import sqlamp\n+\n+Base = declarative_base()\n+\"\"\"in this db i have 3 columns name id and categories_path\"\"\"","path":"app/models.py","position":9,"original_position":9,"commit_id":"9afcbcc485ebcba3b3b820c998d7e55691932782","original_commit_id":"9afcbcc485ebcba3b3b820c998d7e55691932782","user":{"login":"sologubd","id":6784419,"node_id":"MDQ6VXNlcjY3ODQ0MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6784419?v=4","gravatar_id":"","url":"https://api.github.com/users/sologubd","html_url":"https://github.com/sologubd","followers_url":"https://api.github.com/users/sologubd/followers","following_url":"https://api.github.com/users/sologubd/following{/other_user}","gists_url":"https://api.github.com/users/sologubd/gists{/gist_id}","starred_url":"https://api.github.com/users/sologubd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sologubd/subscriptions","organizations_url":"https://api.github.com/users/sologubd/orgs","repos_url":"https://api.github.com/users/sologubd/repos","events_url":"https://api.github.com/users/sologubd/events{/privacy}","received_events_url":"https://api.github.com/users/sologubd/received_events","type":"User","site_admin":false},"body":"Remove this comment","created_at":"2018-11-07T12:54:59Z","updated_at":"2018-11-07T12:57:45Z","html_url":"https://github.com/LeonidShreder/homework/pull/1#discussion_r231492602","pull_request_url":"https://api.github.com/repos/LeonidShreder/homework/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/comments/231492602"},"html":{"href":"https://github.com/LeonidShreder/homework/pull/1#discussion_r231492602"},"pull_request":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/LeonidShreder/homework/pulls/1","id":228409468,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NDA5NDY4","html_url":"https://github.com/LeonidShreder/homework/pull/1","diff_url":"https://github.com/LeonidShreder/homework/pull/1.diff","patch_url":"https://github.com/LeonidShreder/homework/pull/1.patch","issue_url":"https://api.github.com/repos/LeonidShreder/homework/issues/1","number":1,"state":"open","locked":false,"title":"Project bootstrap","user":{"login":"LeonidShreder","id":21984697,"node_id":"MDQ6VXNlcjIxOTg0Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/21984697?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonidShreder","html_url":"https://github.com/LeonidShreder","followers_url":"https://api.github.com/users/LeonidShreder/followers","following_url":"https://api.github.com/users/LeonidShreder/following{/other_user}","gists_url":"https://api.github.com/users/LeonidShreder/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidShreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidShreder/subscriptions","organizations_url":"https://api.github.com/users/LeonidShreder/orgs","repos_url":"https://api.github.com/users/LeonidShreder/repos","events_url":"https://api.github.com/users/LeonidShreder/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidShreder/received_events","type":"User","site_admin":false},"body":"написал кое=что в модел, и в других местах поменял согласно обучалке (https://blog.theodo.fr/2017/03/developping-a-flask-web-app-with-a-postresql-database-making-all-the-possible-errors/) но не работает , \r\n python manage.py db init\r\n/home/leo/PycharmProjects/homework/venv/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.\r\n  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 6, in <module>\r\n    manager = Manager(app)\r\nNameError: name 'Manager' is not defined\r\nвот что выдает, не знаю почему так . буду пока разбираться ","created_at":"2018-11-05T16:21:49Z","updated_at":"2018-11-07T12:57:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba3b309fb78d7ed2f12efe0b55c96a843e09cac9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LeonidShreder/homework/pulls/1/commits","review_comments_url":"https://api.github.com/repos/LeonidShreder/homework/pulls/1/comments","review_comment_url":"https://api.github.com/repos/LeonidShreder/homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeonidShreder/homework/issues/1/comments","statuses_url":"https://api.github.com/repos/LeonidShreder/homework/statuses/9afcbcc485ebcba3b3b820c998d7e55691932782","head":{"label":"LeonidShreder:project_bootstrap","ref":"project_bootstrap","sha":"9afcbcc485ebcba3b3b820c998d7e55691932782","user":{"login":"LeonidShreder","id":21984697,"node_id":"MDQ6VXNlcjIxOTg0Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/21984697?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonidShreder","html_url":"https://github.com/LeonidShreder","followers_url":"https://api.github.com/users/LeonidShreder/followers","following_url":"https://api.github.com/users/LeonidShreder/following{/other_user}","gists_url":"https://api.github.com/users/LeonidShreder/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidShreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidShreder/subscriptions","organizations_url":"https://api.github.com/users/LeonidShreder/orgs","repos_url":"https://api.github.com/users/LeonidShreder/repos","events_url":"https://api.github.com/users/LeonidShreder/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidShreder/received_events","type":"User","site_admin":false},"repo":{"id":155216785,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUyMTY3ODU=","name":"homework","full_name":"LeonidShreder/homework","private":false,"owner":{"login":"LeonidShreder","id":21984697,"node_id":"MDQ6VXNlcjIxOTg0Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/21984697?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonidShreder","html_url":"https://github.com/LeonidShreder","followers_url":"https://api.github.com/users/LeonidShreder/followers","following_url":"https://api.github.com/users/LeonidShreder/following{/other_user}","gists_url":"https://api.github.com/users/LeonidShreder/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidShreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidShreder/subscriptions","organizations_url":"https://api.github.com/users/LeonidShreder/orgs","repos_url":"https://api.github.com/users/LeonidShreder/repos","events_url":"https://api.github.com/users/LeonidShreder/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidShreder/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LeonidShreder/homework","description":null,"fork":false,"url":"https://api.github.com/repos/LeonidShreder/homework","forks_url":"https://api.github.com/repos/LeonidShreder/homework/forks","keys_url":"https://api.github.com/repos/LeonidShreder/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeonidShreder/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeonidShreder/homework/teams","hooks_url":"https://api.github.com/repos/LeonidShreder/homework/hooks","issue_events_url":"https://api.github.com/repos/LeonidShreder/homework/issues/events{/number}","events_url":"https://api.github.com/repos/LeonidShreder/homework/events","assignees_url":"https://api.github.com/repos/LeonidShreder/homework/assignees{/user}","branches_url":"https://api.github.com/repos/LeonidShreder/homework/branches{/branch}","tags_url":"https://api.github.com/repos/LeonidShreder/homework/tags","blobs_url":"https://api.github.com/repos/LeonidShreder/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeonidShreder/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeonidShreder/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeonidShreder/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeonidShreder/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/LeonidShreder/homework/languages","stargazers_url":"https://api.github.com/repos/LeonidShreder/homework/stargazers","contributors_url":"https://api.github.com/repos/LeonidShreder/homework/contributors","subscribers_url":"https://api.github.com/repos/LeonidShreder/homework/subscribers","subscription_url":"https://api.github.com/repos/LeonidShreder/homework/subscription","commits_url":"https://api.github.com/repos/LeonidShreder/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeonidShreder/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeonidShreder/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeonidShreder/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeonidShreder/homework/contents/{+path}","compare_url":"https://api.github.com/repos/LeonidShreder/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeonidShreder/homework/merges","archive_url":"https://api.github.com/repos/LeonidShreder/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeonidShreder/homework/downloads","issues_url":"https://api.github.com/repos/LeonidShreder/homework/issues{/number}","pulls_url":"https://api.github.com/repos/LeonidShreder/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/LeonidShreder/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/LeonidShreder/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeonidShreder/homework/labels{/name}","releases_url":"https://api.github.com/repos/LeonidShreder/homework/releases{/id}","deployments_url":"https://api.github.com/repos/LeonidShreder/homework/deployments","created_at":"2018-10-29T13:29:53Z","updated_at":"2018-10-31T15:44:55Z","pushed_at":"2018-11-07T12:05:41Z","git_url":"git://github.com/LeonidShreder/homework.git","ssh_url":"git@github.com:LeonidShreder/homework.git","clone_url":"https://github.com/LeonidShreder/homework.git","svn_url":"https://github.com/LeonidShreder/homework","homepage":null,"size":1799,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LeonidShreder:test","ref":"test","sha":"97acae5bf00951b334873ab8a8e63eab7dcaf462","user":{"login":"LeonidShreder","id":21984697,"node_id":"MDQ6VXNlcjIxOTg0Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/21984697?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonidShreder","html_url":"https://github.com/LeonidShreder","followers_url":"https://api.github.com/users/LeonidShreder/followers","following_url":"https://api.github.com/users/LeonidShreder/following{/other_user}","gists_url":"https://api.github.com/users/LeonidShreder/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidShreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidShreder/subscriptions","organizations_url":"https://api.github.com/users/LeonidShreder/orgs","repos_url":"https://api.github.com/users/LeonidShreder/repos","events_url":"https://api.github.com/users/LeonidShreder/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidShreder/received_events","type":"User","site_admin":false},"repo":{"id":155216785,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUyMTY3ODU=","name":"homework","full_name":"LeonidShreder/homework","private":false,"owner":{"login":"LeonidShreder","id":21984697,"node_id":"MDQ6VXNlcjIxOTg0Njk3","avatar_url":"https://avatars1.githubusercontent.com/u/21984697?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonidShreder","html_url":"https://github.com/LeonidShreder","followers_url":"https://api.github.com/users/LeonidShreder/followers","following_url":"https://api.github.com/users/LeonidShreder/following{/other_user}","gists_url":"https://api.github.com/users/LeonidShreder/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidShreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidShreder/subscriptions","organizations_url":"https://api.github.com/users/LeonidShreder/orgs","repos_url":"https://api.github.com/users/LeonidShreder/repos","events_url":"https://api.github.com/users/LeonidShreder/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidShreder/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LeonidShreder/homework","description":null,"fork":false,"url":"https://api.github.com/repos/LeonidShreder/homework","forks_url":"https://api.github.com/repos/LeonidShreder/homework/forks","keys_url":"https://api.github.com/repos/LeonidShreder/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeonidShreder/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeonidShreder/homework/teams","hooks_url":"https://api.github.com/repos/LeonidShreder/homework/hooks","issue_events_url":"https://api.github.com/repos/LeonidShreder/homework/issues/events{/number}","events_url":"https://api.github.com/repos/LeonidShreder/homework/events","assignees_url":"https://api.github.com/repos/LeonidShreder/homework/assignees{/user}","branches_url":"https://api.github.com/repos/LeonidShreder/homework/branches{/branch}","tags_url":"https://api.github.com/repos/LeonidShreder/homework/tags","blobs_url":"https://api.github.com/repos/LeonidShreder/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeonidShreder/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeonidShreder/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeonidShreder/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeonidShreder/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/LeonidShreder/homework/languages","stargazers_url":"https://api.github.com/repos/LeonidShreder/homework/stargazers","contributors_url":"https://api.github.com/repos/LeonidShreder/homework/contributors","subscribers_url":"https://api.github.com/repos/LeonidShreder/homework/subscribers","subscription_url":"https://api.github.com/repos/LeonidShreder/homework/subscription","commits_url":"https://api.github.com/repos/LeonidShreder/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeonidShreder/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeonidShreder/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeonidShreder/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeonidShreder/homework/contents/{+path}","compare_url":"https://api.github.com/repos/LeonidShreder/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeonidShreder/homework/merges","archive_url":"https://api.github.com/repos/LeonidShreder/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeonidShreder/homework/downloads","issues_url":"https://api.github.com/repos/LeonidShreder/homework/issues{/number}","pulls_url":"https://api.github.com/repos/LeonidShreder/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/LeonidShreder/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/LeonidShreder/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeonidShreder/homework/labels{/name}","releases_url":"https://api.github.com/repos/LeonidShreder/homework/releases{/id}","deployments_url":"https://api.github.com/repos/LeonidShreder/homework/deployments","created_at":"2018-10-29T13:29:53Z","updated_at":"2018-10-31T15:44:55Z","pushed_at":"2018-11-07T12:05:41Z","git_url":"git://github.com/LeonidShreder/homework.git","ssh_url":"git@github.com:LeonidShreder/homework.git","clone_url":"https://github.com/LeonidShreder/homework.git","svn_url":"https://github.com/LeonidShreder/homework","homepage":null,"size":1799,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/1"},"html":{"href":"https://github.com/LeonidShreder/homework/pull/1"},"issue":{"href":"https://api.github.com/repos/LeonidShreder/homework/issues/1"},"comments":{"href":"https://api.github.com/repos/LeonidShreder/homework/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeonidShreder/homework/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/LeonidShreder/homework/statuses/9afcbcc485ebcba3b3b820c998d7e55691932782"}},"author_association":"OWNER"}}
{"actor":{"display_login":"sologubd"}}