{"action":"opened","number":1612,"pull_request":{"url":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612","id":172908842,"html_url":"https://github.com/flask-admin/flask-admin/pull/1612","diff_url":"https://github.com/flask-admin/flask-admin/pull/1612.diff","patch_url":"https://github.com/flask-admin/flask-admin/pull/1612.patch","issue_url":"https://api.github.com/repos/flask-admin/flask-admin/issues/1612","number":1612,"state":"open","locked":false,"title":"Updating views.py to support changes in Peewee version 3.0 (for Field…","user":{"login":"jasgrider","id":18077042,"avatar_url":"https://avatars0.githubusercontent.com/u/18077042?v=4","gravatar_id":"","url":"https://api.github.com/users/jasgrider","html_url":"https://github.com/jasgrider","followers_url":"https://api.github.com/users/jasgrider/followers","following_url":"https://api.github.com/users/jasgrider/following{/other_user}","gists_url":"https://api.github.com/users/jasgrider/gists{/gist_id}","starred_url":"https://api.github.com/users/jasgrider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasgrider/subscriptions","organizations_url":"https://api.github.com/users/jasgrider/orgs","repos_url":"https://api.github.com/users/jasgrider/repos","events_url":"https://api.github.com/users/jasgrider/events{/privacy}","received_events_url":"https://api.github.com/users/jasgrider/received_events","type":"User","site_admin":false},"body":"…s the model_class attribute has changed to model). Previous versions of Peewee should work because of the try: except: loop I put in to first try model_class then on AttributeError try model.","created_at":"2018-03-05T16:00:27Z","updated_at":"2018-03-05T16:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612/commits","review_comments_url":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612/comments","review_comment_url":"https://api.github.com/repos/flask-admin/flask-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flask-admin/flask-admin/issues/1612/comments","statuses_url":"https://api.github.com/repos/flask-admin/flask-admin/statuses/b78fbc5045ee6907fa49e918b5dfebe01042a6f3","head":{"label":"jasgrider:master","ref":"master","sha":"b78fbc5045ee6907fa49e918b5dfebe01042a6f3","user":{"login":"jasgrider","id":18077042,"avatar_url":"https://avatars0.githubusercontent.com/u/18077042?v=4","gravatar_id":"","url":"https://api.github.com/users/jasgrider","html_url":"https://github.com/jasgrider","followers_url":"https://api.github.com/users/jasgrider/followers","following_url":"https://api.github.com/users/jasgrider/following{/other_user}","gists_url":"https://api.github.com/users/jasgrider/gists{/gist_id}","starred_url":"https://api.github.com/users/jasgrider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasgrider/subscriptions","organizations_url":"https://api.github.com/users/jasgrider/orgs","repos_url":"https://api.github.com/users/jasgrider/repos","events_url":"https://api.github.com/users/jasgrider/events{/privacy}","received_events_url":"https://api.github.com/users/jasgrider/received_events","type":"User","site_admin":false},"repo":{"id":122372208,"name":"flask-admin","full_name":"jasgrider/flask-admin","owner":{"login":"jasgrider","id":18077042,"avatar_url":"https://avatars0.githubusercontent.com/u/18077042?v=4","gravatar_id":"","url":"https://api.github.com/users/jasgrider","html_url":"https://github.com/jasgrider","followers_url":"https://api.github.com/users/jasgrider/followers","following_url":"https://api.github.com/users/jasgrider/following{/other_user}","gists_url":"https://api.github.com/users/jasgrider/gists{/gist_id}","starred_url":"https://api.github.com/users/jasgrider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasgrider/subscriptions","organizations_url":"https://api.github.com/users/jasgrider/orgs","repos_url":"https://api.github.com/users/jasgrider/repos","events_url":"https://api.github.com/users/jasgrider/events{/privacy}","received_events_url":"https://api.github.com/users/jasgrider/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jasgrider/flask-admin","description":"Simple and extensible administrative interface framework for Flask","fork":true,"url":"https://api.github.com/repos/jasgrider/flask-admin","forks_url":"https://api.github.com/repos/jasgrider/flask-admin/forks","keys_url":"https://api.github.com/repos/jasgrider/flask-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasgrider/flask-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasgrider/flask-admin/teams","hooks_url":"https://api.github.com/repos/jasgrider/flask-admin/hooks","issue_events_url":"https://api.github.com/repos/jasgrider/flask-admin/issues/events{/number}","events_url":"https://api.github.com/repos/jasgrider/flask-admin/events","assignees_url":"https://api.github.com/repos/jasgrider/flask-admin/assignees{/user}","branches_url":"https://api.github.com/repos/jasgrider/flask-admin/branches{/branch}","tags_url":"https://api.github.com/repos/jasgrider/flask-admin/tags","blobs_url":"https://api.github.com/repos/jasgrider/flask-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasgrider/flask-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasgrider/flask-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasgrider/flask-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasgrider/flask-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/jasgrider/flask-admin/languages","stargazers_url":"https://api.github.com/repos/jasgrider/flask-admin/stargazers","contributors_url":"https://api.github.com/repos/jasgrider/flask-admin/contributors","subscribers_url":"https://api.github.com/repos/jasgrider/flask-admin/subscribers","subscription_url":"https://api.github.com/repos/jasgrider/flask-admin/subscription","commits_url":"https://api.github.com/repos/jasgrider/flask-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasgrider/flask-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasgrider/flask-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasgrider/flask-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jasgrider/flask-admin/contents/{+path}","compare_url":"https://api.github.com/repos/jasgrider/flask-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasgrider/flask-admin/merges","archive_url":"https://api.github.com/repos/jasgrider/flask-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasgrider/flask-admin/downloads","issues_url":"https://api.github.com/repos/jasgrider/flask-admin/issues{/number}","pulls_url":"https://api.github.com/repos/jasgrider/flask-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/jasgrider/flask-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/jasgrider/flask-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasgrider/flask-admin/labels{/name}","releases_url":"https://api.github.com/repos/jasgrider/flask-admin/releases{/id}","deployments_url":"https://api.github.com/repos/jasgrider/flask-admin/deployments","created_at":"2018-02-21T17:54:58Z","updated_at":"2018-02-21T17:55:01Z","pushed_at":"2018-03-05T15:56:35Z","git_url":"git://github.com/jasgrider/flask-admin.git","ssh_url":"git@github.com:jasgrider/flask-admin.git","clone_url":"https://github.com/jasgrider/flask-admin.git","svn_url":"https://github.com/jasgrider/flask-admin","homepage":"","size":10332,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flask-admin:master","ref":"master","sha":"874d2b76f99b962f82b7303f25b96c30864a7bab","user":{"login":"flask-admin","id":12035958,"avatar_url":"https://avatars2.githubusercontent.com/u/12035958?v=4","gravatar_id":"","url":"https://api.github.com/users/flask-admin","html_url":"https://github.com/flask-admin","followers_url":"https://api.github.com/users/flask-admin/followers","following_url":"https://api.github.com/users/flask-admin/following{/other_user}","gists_url":"https://api.github.com/users/flask-admin/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-admin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-admin/subscriptions","organizations_url":"https://api.github.com/users/flask-admin/orgs","repos_url":"https://api.github.com/users/flask-admin/repos","events_url":"https://api.github.com/users/flask-admin/events{/privacy}","received_events_url":"https://api.github.com/users/flask-admin/received_events","type":"Organization","site_admin":false},"repo":{"id":3758878,"name":"flask-admin","full_name":"flask-admin/flask-admin","owner":{"login":"flask-admin","id":12035958,"avatar_url":"https://avatars2.githubusercontent.com/u/12035958?v=4","gravatar_id":"","url":"https://api.github.com/users/flask-admin","html_url":"https://github.com/flask-admin","followers_url":"https://api.github.com/users/flask-admin/followers","following_url":"https://api.github.com/users/flask-admin/following{/other_user}","gists_url":"https://api.github.com/users/flask-admin/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-admin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-admin/subscriptions","organizations_url":"https://api.github.com/users/flask-admin/orgs","repos_url":"https://api.github.com/users/flask-admin/repos","events_url":"https://api.github.com/users/flask-admin/events{/privacy}","received_events_url":"https://api.github.com/users/flask-admin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flask-admin/flask-admin","description":"Simple and extensible administrative interface framework for Flask","fork":false,"url":"https://api.github.com/repos/flask-admin/flask-admin","forks_url":"https://api.github.com/repos/flask-admin/flask-admin/forks","keys_url":"https://api.github.com/repos/flask-admin/flask-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flask-admin/flask-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flask-admin/flask-admin/teams","hooks_url":"https://api.github.com/repos/flask-admin/flask-admin/hooks","issue_events_url":"https://api.github.com/repos/flask-admin/flask-admin/issues/events{/number}","events_url":"https://api.github.com/repos/flask-admin/flask-admin/events","assignees_url":"https://api.github.com/repos/flask-admin/flask-admin/assignees{/user}","branches_url":"https://api.github.com/repos/flask-admin/flask-admin/branches{/branch}","tags_url":"https://api.github.com/repos/flask-admin/flask-admin/tags","blobs_url":"https://api.github.com/repos/flask-admin/flask-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flask-admin/flask-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flask-admin/flask-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/flask-admin/flask-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flask-admin/flask-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/flask-admin/flask-admin/languages","stargazers_url":"https://api.github.com/repos/flask-admin/flask-admin/stargazers","contributors_url":"https://api.github.com/repos/flask-admin/flask-admin/contributors","subscribers_url":"https://api.github.com/repos/flask-admin/flask-admin/subscribers","subscription_url":"https://api.github.com/repos/flask-admin/flask-admin/subscription","commits_url":"https://api.github.com/repos/flask-admin/flask-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/flask-admin/flask-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/flask-admin/flask-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/flask-admin/flask-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/flask-admin/flask-admin/contents/{+path}","compare_url":"https://api.github.com/repos/flask-admin/flask-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flask-admin/flask-admin/merges","archive_url":"https://api.github.com/repos/flask-admin/flask-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flask-admin/flask-admin/downloads","issues_url":"https://api.github.com/repos/flask-admin/flask-admin/issues{/number}","pulls_url":"https://api.github.com/repos/flask-admin/flask-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/flask-admin/flask-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/flask-admin/flask-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flask-admin/flask-admin/labels{/name}","releases_url":"https://api.github.com/repos/flask-admin/flask-admin/releases{/id}","deployments_url":"https://api.github.com/repos/flask-admin/flask-admin/deployments","created_at":"2012-03-18T23:21:57Z","updated_at":"2018-03-03T18:25:22Z","pushed_at":"2018-02-23T00:53:09Z","git_url":"git://github.com/flask-admin/flask-admin.git","ssh_url":"git@github.com:flask-admin/flask-admin.git","clone_url":"https://github.com/flask-admin/flask-admin.git","svn_url":"https://github.com/flask-admin/flask-admin","homepage":"","size":10340,"stargazers_count":2736,"watchers_count":2736,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":836,"mirror_url":null,"archived":false,"open_issues_count":237,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":836,"open_issues":237,"watchers":2736,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612"},"html":{"href":"https://github.com/flask-admin/flask-admin/pull/1612"},"issue":{"href":"https://api.github.com/repos/flask-admin/flask-admin/issues/1612"},"comments":{"href":"https://api.github.com/repos/flask-admin/flask-admin/issues/1612/comments"},"review_comments":{"href":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612/comments"},"review_comment":{"href":"https://api.github.com/repos/flask-admin/flask-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flask-admin/flask-admin/pulls/1612/commits"},"statuses":{"href":"https://api.github.com/repos/flask-admin/flask-admin/statuses/b78fbc5045ee6907fa49e918b5dfebe01042a6f3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":35,"deletions":13,"changed_files":1}}
{"actor":{"display_login":"jasgrider"}}