{"action":"opened","number":367,"pull_request":{"url":"https://api.github.com/repos/calblueprint/revolv/pulls/367","id":38684726,"html_url":"https://github.com/calblueprint/revolv/pull/367","diff_url":"https://github.com/calblueprint/revolv/pull/367.diff","patch_url":"https://github.com/calblueprint/revolv/pull/367.patch","issue_url":"https://api.github.com/repos/calblueprint/revolv/issues/367","number":367,"state":"open","locked":false,"title":"Fixes #366: Add settings to db seed","user":{"login":"noahsark769","id":1168853,"avatar_url":"https://avatars.githubusercontent.com/u/1168853?v=3","gravatar_id":"","url":"https://api.github.com/users/noahsark769","html_url":"https://github.com/noahsark769","followers_url":"https://api.github.com/users/noahsark769/followers","following_url":"https://api.github.com/users/noahsark769/following{/other_user}","gists_url":"https://api.github.com/users/noahsark769/gists{/gist_id}","starred_url":"https://api.github.com/users/noahsark769/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahsark769/subscriptions","organizations_url":"https://api.github.com/users/noahsark769/orgs","repos_url":"https://api.github.com/users/noahsark769/repos","events_url":"https://api.github.com/users/noahsark769/events{/privacy}","received_events_url":"https://api.github.com/users/noahsark769/received_events","type":"User","site_admin":false},"body":"Fixes #366 for @andylouisqin \r\n\r\nSo, before this, there were wagtail settings models defined, with\r\ndefault values, but in order to get them to actually show up on pages,\r\nyou had to go to the settings page and save each one.\r\n\r\nThis is because the register_setting decorator doesn't actually create\r\ninstances of the models (nor should it). So, to eliminate unecessary\r\nwork, I added the cms models to a seed file. It also automatically seeds\r\nall registered settings, so no need to worry about editing the seed spec\r\nfor settings after defining a new setting.\r\n\r\nWill merge later!","created_at":"2015-06-26T20:10:00Z","updated_at":"2015-06-26T20:10:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calblueprint/revolv/pulls/367/commits","review_comments_url":"https://api.github.com/repos/calblueprint/revolv/pulls/367/comments","review_comment_url":"https://api.github.com/repos/calblueprint/revolv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calblueprint/revolv/issues/367/comments","statuses_url":"https://api.github.com/repos/calblueprint/revolv/statuses/66a85d3db41f1edcdf2d100417ce0f7dd790fb92","head":{"label":"calblueprint:noah__settings_issue","ref":"noah__settings_issue","sha":"66a85d3db41f1edcdf2d100417ce0f7dd790fb92","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":24279940,"name":"revolv","full_name":"calblueprint/revolv","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/revolv","description":"Revolving crowdfunding Django application for the npo RE-volv.","fork":false,"url":"https://api.github.com/repos/calblueprint/revolv","forks_url":"https://api.github.com/repos/calblueprint/revolv/forks","keys_url":"https://api.github.com/repos/calblueprint/revolv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/revolv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/revolv/teams","hooks_url":"https://api.github.com/repos/calblueprint/revolv/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/revolv/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/revolv/events","assignees_url":"https://api.github.com/repos/calblueprint/revolv/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/revolv/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/revolv/tags","blobs_url":"https://api.github.com/repos/calblueprint/revolv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/revolv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/revolv/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/revolv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/revolv/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/revolv/languages","stargazers_url":"https://api.github.com/repos/calblueprint/revolv/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/revolv/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/revolv/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/revolv/subscription","commits_url":"https://api.github.com/repos/calblueprint/revolv/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/revolv/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/revolv/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/revolv/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/revolv/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/revolv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/revolv/merges","archive_url":"https://api.github.com/repos/calblueprint/revolv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/revolv/downloads","issues_url":"https://api.github.com/repos/calblueprint/revolv/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/revolv/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/revolv/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/revolv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/revolv/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/revolv/releases{/id}","created_at":"2014-09-21T02:30:04Z","updated_at":"2015-05-05T15:04:40Z","pushed_at":"2015-06-26T20:08:35Z","git_url":"git://github.com/calblueprint/revolv.git","ssh_url":"git@github.com:calblueprint/revolv.git","clone_url":"https://github.com/calblueprint/revolv.git","svn_url":"https://github.com/calblueprint/revolv","homepage":"","size":58111,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":73,"forks":1,"open_issues":73,"watchers":10,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"e92fd82304bfd7b890304d141a3919f103c6ccb9","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":24279940,"name":"revolv","full_name":"calblueprint/revolv","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/revolv","description":"Revolving crowdfunding Django application for the npo RE-volv.","fork":false,"url":"https://api.github.com/repos/calblueprint/revolv","forks_url":"https://api.github.com/repos/calblueprint/revolv/forks","keys_url":"https://api.github.com/repos/calblueprint/revolv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/revolv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/revolv/teams","hooks_url":"https://api.github.com/repos/calblueprint/revolv/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/revolv/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/revolv/events","assignees_url":"https://api.github.com/repos/calblueprint/revolv/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/revolv/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/revolv/tags","blobs_url":"https://api.github.com/repos/calblueprint/revolv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/revolv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/revolv/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/revolv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/revolv/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/revolv/languages","stargazers_url":"https://api.github.com/repos/calblueprint/revolv/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/revolv/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/revolv/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/revolv/subscription","commits_url":"https://api.github.com/repos/calblueprint/revolv/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/revolv/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/revolv/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/revolv/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/revolv/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/revolv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/revolv/merges","archive_url":"https://api.github.com/repos/calblueprint/revolv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/revolv/downloads","issues_url":"https://api.github.com/repos/calblueprint/revolv/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/revolv/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/revolv/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/revolv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/revolv/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/revolv/releases{/id}","created_at":"2014-09-21T02:30:04Z","updated_at":"2015-05-05T15:04:40Z","pushed_at":"2015-06-26T20:08:35Z","git_url":"git://github.com/calblueprint/revolv.git","ssh_url":"git@github.com:calblueprint/revolv.git","clone_url":"https://github.com/calblueprint/revolv.git","svn_url":"https://github.com/calblueprint/revolv","homepage":"","size":58111,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":73,"forks":1,"open_issues":73,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/revolv/pulls/367"},"html":{"href":"https://github.com/calblueprint/revolv/pull/367"},"issue":{"href":"https://api.github.com/repos/calblueprint/revolv/issues/367"},"comments":{"href":"https://api.github.com/repos/calblueprint/revolv/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/revolv/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/revolv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/revolv/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/revolv/statuses/66a85d3db41f1edcdf2d100417ce0f7dd790fb92"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":0,"changed_files":2}}