{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10","id":41139592,"html_url":"https://github.com/MelbDjango/lesson-two/pull/10","diff_url":"https://github.com/MelbDjango/lesson-two/pull/10.diff","patch_url":"https://github.com/MelbDjango/lesson-two/pull/10.patch","issue_url":"https://api.github.com/repos/MelbDjango/lesson-two/issues/10","number":10,"state":"open","locked":false,"title":"Denormalised, added models and admin","user":{"login":"edanweis","id":2130136,"avatar_url":"https://avatars.githubusercontent.com/u/2130136?v=3","gravatar_id":"","url":"https://api.github.com/users/edanweis","html_url":"https://github.com/edanweis","followers_url":"https://api.github.com/users/edanweis/followers","following_url":"https://api.github.com/users/edanweis/following{/other_user}","gists_url":"https://api.github.com/users/edanweis/gists{/gist_id}","starred_url":"https://api.github.com/users/edanweis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edanweis/subscriptions","organizations_url":"https://api.github.com/users/edanweis/orgs","repos_url":"https://api.github.com/users/edanweis/repos","events_url":"https://api.github.com/users/edanweis/events{/privacy}","received_events_url":"https://api.github.com/users/edanweis/received_events","type":"User","site_admin":false},"body":"Couldn't really re-use the existing Entry model via foreign key because I denormalised the data differently. One thing I found confusing is whether to create models quickly and easily which suit django-admin, or properly denormalise models and deal wth work-arounds for django-admin, eg: listing many-many relationships, and editing multiple models in a single admin form, not easy for a beginner with Django and RDBMS. Mongoengine now looks appealing.","created_at":"2015-07-29T15:53:29Z","updated_at":"2015-07-29T15:53:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10/commits","review_comments_url":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10/comments","review_comment_url":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MelbDjango/lesson-two/issues/10/comments","statuses_url":"https://api.github.com/repos/MelbDjango/lesson-two/statuses/e1408583df62088d2ad7f97aacef07f6eca02bbb","head":{"label":"edanweis:master","ref":"master","sha":"e1408583df62088d2ad7f97aacef07f6eca02bbb","user":{"login":"edanweis","id":2130136,"avatar_url":"https://avatars.githubusercontent.com/u/2130136?v=3","gravatar_id":"","url":"https://api.github.com/users/edanweis","html_url":"https://github.com/edanweis","followers_url":"https://api.github.com/users/edanweis/followers","following_url":"https://api.github.com/users/edanweis/following{/other_user}","gists_url":"https://api.github.com/users/edanweis/gists{/gist_id}","starred_url":"https://api.github.com/users/edanweis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edanweis/subscriptions","organizations_url":"https://api.github.com/users/edanweis/orgs","repos_url":"https://api.github.com/users/edanweis/repos","events_url":"https://api.github.com/users/edanweis/events{/privacy}","received_events_url":"https://api.github.com/users/edanweis/received_events","type":"User","site_admin":false},"repo":{"id":39870927,"name":"lesson-two","full_name":"edanweis/lesson-two","owner":{"login":"edanweis","id":2130136,"avatar_url":"https://avatars.githubusercontent.com/u/2130136?v=3","gravatar_id":"","url":"https://api.github.com/users/edanweis","html_url":"https://github.com/edanweis","followers_url":"https://api.github.com/users/edanweis/followers","following_url":"https://api.github.com/users/edanweis/following{/other_user}","gists_url":"https://api.github.com/users/edanweis/gists{/gist_id}","starred_url":"https://api.github.com/users/edanweis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edanweis/subscriptions","organizations_url":"https://api.github.com/users/edanweis/orgs","repos_url":"https://api.github.com/users/edanweis/repos","events_url":"https://api.github.com/users/edanweis/events{/privacy}","received_events_url":"https://api.github.com/users/edanweis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edanweis/lesson-two","description":"MelbDjango School - Lesson Two","fork":true,"url":"https://api.github.com/repos/edanweis/lesson-two","forks_url":"https://api.github.com/repos/edanweis/lesson-two/forks","keys_url":"https://api.github.com/repos/edanweis/lesson-two/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edanweis/lesson-two/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edanweis/lesson-two/teams","hooks_url":"https://api.github.com/repos/edanweis/lesson-two/hooks","issue_events_url":"https://api.github.com/repos/edanweis/lesson-two/issues/events{/number}","events_url":"https://api.github.com/repos/edanweis/lesson-two/events","assignees_url":"https://api.github.com/repos/edanweis/lesson-two/assignees{/user}","branches_url":"https://api.github.com/repos/edanweis/lesson-two/branches{/branch}","tags_url":"https://api.github.com/repos/edanweis/lesson-two/tags","blobs_url":"https://api.github.com/repos/edanweis/lesson-two/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edanweis/lesson-two/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edanweis/lesson-two/git/refs{/sha}","trees_url":"https://api.github.com/repos/edanweis/lesson-two/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edanweis/lesson-two/statuses/{sha}","languages_url":"https://api.github.com/repos/edanweis/lesson-two/languages","stargazers_url":"https://api.github.com/repos/edanweis/lesson-two/stargazers","contributors_url":"https://api.github.com/repos/edanweis/lesson-two/contributors","subscribers_url":"https://api.github.com/repos/edanweis/lesson-two/subscribers","subscription_url":"https://api.github.com/repos/edanweis/lesson-two/subscription","commits_url":"https://api.github.com/repos/edanweis/lesson-two/commits{/sha}","git_commits_url":"https://api.github.com/repos/edanweis/lesson-two/git/commits{/sha}","comments_url":"https://api.github.com/repos/edanweis/lesson-two/comments{/number}","issue_comment_url":"https://api.github.com/repos/edanweis/lesson-two/issues/comments{/number}","contents_url":"https://api.github.com/repos/edanweis/lesson-two/contents/{+path}","compare_url":"https://api.github.com/repos/edanweis/lesson-two/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edanweis/lesson-two/merges","archive_url":"https://api.github.com/repos/edanweis/lesson-two/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edanweis/lesson-two/downloads","issues_url":"https://api.github.com/repos/edanweis/lesson-two/issues{/number}","pulls_url":"https://api.github.com/repos/edanweis/lesson-two/pulls{/number}","milestones_url":"https://api.github.com/repos/edanweis/lesson-two/milestones{/number}","notifications_url":"https://api.github.com/repos/edanweis/lesson-two/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edanweis/lesson-two/labels{/name}","releases_url":"https://api.github.com/repos/edanweis/lesson-two/releases{/id}","created_at":"2015-07-29T03:24:15Z","updated_at":"2015-07-29T03:24:15Z","pushed_at":"2015-07-29T15:36:54Z","git_url":"git://github.com/edanweis/lesson-two.git","ssh_url":"git@github.com:edanweis/lesson-two.git","clone_url":"https://github.com/edanweis/lesson-two.git","svn_url":"https://github.com/edanweis/lesson-two","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MelbDjango:master","ref":"master","sha":"48a5fe612fabfed5006294452ba0952f16c7d428","user":{"login":"MelbDjango","id":5742364,"avatar_url":"https://avatars.githubusercontent.com/u/5742364?v=3","gravatar_id":"","url":"https://api.github.com/users/MelbDjango","html_url":"https://github.com/MelbDjango","followers_url":"https://api.github.com/users/MelbDjango/followers","following_url":"https://api.github.com/users/MelbDjango/following{/other_user}","gists_url":"https://api.github.com/users/MelbDjango/gists{/gist_id}","starred_url":"https://api.github.com/users/MelbDjango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelbDjango/subscriptions","organizations_url":"https://api.github.com/users/MelbDjango/orgs","repos_url":"https://api.github.com/users/MelbDjango/repos","events_url":"https://api.github.com/users/MelbDjango/events{/privacy}","received_events_url":"https://api.github.com/users/MelbDjango/received_events","type":"Organization","site_admin":false},"repo":{"id":39541884,"name":"lesson-two","full_name":"MelbDjango/lesson-two","owner":{"login":"MelbDjango","id":5742364,"avatar_url":"https://avatars.githubusercontent.com/u/5742364?v=3","gravatar_id":"","url":"https://api.github.com/users/MelbDjango","html_url":"https://github.com/MelbDjango","followers_url":"https://api.github.com/users/MelbDjango/followers","following_url":"https://api.github.com/users/MelbDjango/following{/other_user}","gists_url":"https://api.github.com/users/MelbDjango/gists{/gist_id}","starred_url":"https://api.github.com/users/MelbDjango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelbDjango/subscriptions","organizations_url":"https://api.github.com/users/MelbDjango/orgs","repos_url":"https://api.github.com/users/MelbDjango/repos","events_url":"https://api.github.com/users/MelbDjango/events{/privacy}","received_events_url":"https://api.github.com/users/MelbDjango/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MelbDjango/lesson-two","description":"MelbDjango School - Lesson Two","fork":false,"url":"https://api.github.com/repos/MelbDjango/lesson-two","forks_url":"https://api.github.com/repos/MelbDjango/lesson-two/forks","keys_url":"https://api.github.com/repos/MelbDjango/lesson-two/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MelbDjango/lesson-two/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MelbDjango/lesson-two/teams","hooks_url":"https://api.github.com/repos/MelbDjango/lesson-two/hooks","issue_events_url":"https://api.github.com/repos/MelbDjango/lesson-two/issues/events{/number}","events_url":"https://api.github.com/repos/MelbDjango/lesson-two/events","assignees_url":"https://api.github.com/repos/MelbDjango/lesson-two/assignees{/user}","branches_url":"https://api.github.com/repos/MelbDjango/lesson-two/branches{/branch}","tags_url":"https://api.github.com/repos/MelbDjango/lesson-two/tags","blobs_url":"https://api.github.com/repos/MelbDjango/lesson-two/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MelbDjango/lesson-two/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MelbDjango/lesson-two/git/refs{/sha}","trees_url":"https://api.github.com/repos/MelbDjango/lesson-two/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MelbDjango/lesson-two/statuses/{sha}","languages_url":"https://api.github.com/repos/MelbDjango/lesson-two/languages","stargazers_url":"https://api.github.com/repos/MelbDjango/lesson-two/stargazers","contributors_url":"https://api.github.com/repos/MelbDjango/lesson-two/contributors","subscribers_url":"https://api.github.com/repos/MelbDjango/lesson-two/subscribers","subscription_url":"https://api.github.com/repos/MelbDjango/lesson-two/subscription","commits_url":"https://api.github.com/repos/MelbDjango/lesson-two/commits{/sha}","git_commits_url":"https://api.github.com/repos/MelbDjango/lesson-two/git/commits{/sha}","comments_url":"https://api.github.com/repos/MelbDjango/lesson-two/comments{/number}","issue_comment_url":"https://api.github.com/repos/MelbDjango/lesson-two/issues/comments{/number}","contents_url":"https://api.github.com/repos/MelbDjango/lesson-two/contents/{+path}","compare_url":"https://api.github.com/repos/MelbDjango/lesson-two/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MelbDjango/lesson-two/merges","archive_url":"https://api.github.com/repos/MelbDjango/lesson-two/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MelbDjango/lesson-two/downloads","issues_url":"https://api.github.com/repos/MelbDjango/lesson-two/issues{/number}","pulls_url":"https://api.github.com/repos/MelbDjango/lesson-two/pulls{/number}","milestones_url":"https://api.github.com/repos/MelbDjango/lesson-two/milestones{/number}","notifications_url":"https://api.github.com/repos/MelbDjango/lesson-two/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MelbDjango/lesson-two/labels{/name}","releases_url":"https://api.github.com/repos/MelbDjango/lesson-two/releases{/id}","created_at":"2015-07-23T02:43:32Z","updated_at":"2015-07-23T08:50:28Z","pushed_at":"2015-07-29T00:22:01Z","git_url":"git://github.com/MelbDjango/lesson-two.git","ssh_url":"git@github.com:MelbDjango/lesson-two.git","clone_url":"https://github.com/MelbDjango/lesson-two.git","svn_url":"https://github.com/MelbDjango/lesson-two","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":10,"forks":17,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10"},"html":{"href":"https://github.com/MelbDjango/lesson-two/pull/10"},"issue":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/issues/10"},"comments":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/MelbDjango/lesson-two/statuses/e1408583df62088d2ad7f97aacef07f6eca02bbb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":88,"deletions":15,"changed_files":3}}