{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/matllubos/django-piston/pulls/6","id":25566355,"html_url":"https://github.com/matllubos/django-piston/pull/6","diff_url":"https://github.com/matllubos/django-piston/pull/6.diff","patch_url":"https://github.com/matllubos/django-piston/pull/6.patch","issue_url":"https://api.github.com/repos/matllubos/django-piston/issues/6","number":6,"state":"closed","locked":false,"title":"Serialization of object is flat in case of PDF and CSV converters","user":{"login":"asgeirrr","id":6860903,"avatar_url":"https://avatars.githubusercontent.com/u/6860903?v=3","gravatar_id":"","url":"https://api.github.com/users/asgeirrr","html_url":"https://github.com/asgeirrr","followers_url":"https://api.github.com/users/asgeirrr/followers","following_url":"https://api.github.com/users/asgeirrr/following{/other_user}","gists_url":"https://api.github.com/users/asgeirrr/gists{/gist_id}","starred_url":"https://api.github.com/users/asgeirrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgeirrr/subscriptions","organizations_url":"https://api.github.com/users/asgeirrr/orgs","repos_url":"https://api.github.com/users/asgeirrr/repos","events_url":"https://api.github.com/users/asgeirrr/events{/privacy}","received_events_url":"https://api.github.com/users/asgeirrr/received_events","type":"User","site_admin":false},"body":"In PDF and CSV export, there needn't be any deep serialization of objects, each field of the serialized object must correspond to one column in the export table, not multiple columns. Therefore, __unicode__ method is called on nested objects instead of recursive serialization.","created_at":"2014-12-05T12:06:59Z","updated_at":"2015-08-12T13:52:03Z","closed_at":"2015-08-12T13:52:03Z","merged_at":null,"merge_commit_sha":"99a1f6e3f962aeff90df6a0c93239d00bd0f881c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matllubos/django-piston/pulls/6/commits","review_comments_url":"https://api.github.com/repos/matllubos/django-piston/pulls/6/comments","review_comment_url":"https://api.github.com/repos/matllubos/django-piston/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matllubos/django-piston/issues/6/comments","statuses_url":"https://api.github.com/repos/matllubos/django-piston/statuses/301e8205d069fe424904c50cd60f2248ec20f89d","head":{"label":"asgeirrr:FlatOutputForPdfAndCsv","ref":"FlatOutputForPdfAndCsv","sha":"301e8205d069fe424904c50cd60f2248ec20f89d","user":{"login":"asgeirrr","id":6860903,"avatar_url":"https://avatars.githubusercontent.com/u/6860903?v=3","gravatar_id":"","url":"https://api.github.com/users/asgeirrr","html_url":"https://github.com/asgeirrr","followers_url":"https://api.github.com/users/asgeirrr/followers","following_url":"https://api.github.com/users/asgeirrr/following{/other_user}","gists_url":"https://api.github.com/users/asgeirrr/gists{/gist_id}","starred_url":"https://api.github.com/users/asgeirrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgeirrr/subscriptions","organizations_url":"https://api.github.com/users/asgeirrr/orgs","repos_url":"https://api.github.com/users/asgeirrr/repos","events_url":"https://api.github.com/users/asgeirrr/events{/privacy}","received_events_url":"https://api.github.com/users/asgeirrr/received_events","type":"User","site_admin":false},"repo":{"id":26643566,"name":"django-piston","full_name":"asgeirrr/django-piston","owner":{"login":"asgeirrr","id":6860903,"avatar_url":"https://avatars.githubusercontent.com/u/6860903?v=3","gravatar_id":"","url":"https://api.github.com/users/asgeirrr","html_url":"https://github.com/asgeirrr","followers_url":"https://api.github.com/users/asgeirrr/followers","following_url":"https://api.github.com/users/asgeirrr/following{/other_user}","gists_url":"https://api.github.com/users/asgeirrr/gists{/gist_id}","starred_url":"https://api.github.com/users/asgeirrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgeirrr/subscriptions","organizations_url":"https://api.github.com/users/asgeirrr/orgs","repos_url":"https://api.github.com/users/asgeirrr/repos","events_url":"https://api.github.com/users/asgeirrr/events{/privacy}","received_events_url":"https://api.github.com/users/asgeirrr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asgeirrr/django-piston","description":"","fork":true,"url":"https://api.github.com/repos/asgeirrr/django-piston","forks_url":"https://api.github.com/repos/asgeirrr/django-piston/forks","keys_url":"https://api.github.com/repos/asgeirrr/django-piston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asgeirrr/django-piston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asgeirrr/django-piston/teams","hooks_url":"https://api.github.com/repos/asgeirrr/django-piston/hooks","issue_events_url":"https://api.github.com/repos/asgeirrr/django-piston/issues/events{/number}","events_url":"https://api.github.com/repos/asgeirrr/django-piston/events","assignees_url":"https://api.github.com/repos/asgeirrr/django-piston/assignees{/user}","branches_url":"https://api.github.com/repos/asgeirrr/django-piston/branches{/branch}","tags_url":"https://api.github.com/repos/asgeirrr/django-piston/tags","blobs_url":"https://api.github.com/repos/asgeirrr/django-piston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asgeirrr/django-piston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asgeirrr/django-piston/git/refs{/sha}","trees_url":"https://api.github.com/repos/asgeirrr/django-piston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asgeirrr/django-piston/statuses/{sha}","languages_url":"https://api.github.com/repos/asgeirrr/django-piston/languages","stargazers_url":"https://api.github.com/repos/asgeirrr/django-piston/stargazers","contributors_url":"https://api.github.com/repos/asgeirrr/django-piston/contributors","subscribers_url":"https://api.github.com/repos/asgeirrr/django-piston/subscribers","subscription_url":"https://api.github.com/repos/asgeirrr/django-piston/subscription","commits_url":"https://api.github.com/repos/asgeirrr/django-piston/commits{/sha}","git_commits_url":"https://api.github.com/repos/asgeirrr/django-piston/git/commits{/sha}","comments_url":"https://api.github.com/repos/asgeirrr/django-piston/comments{/number}","issue_comment_url":"https://api.github.com/repos/asgeirrr/django-piston/issues/comments{/number}","contents_url":"https://api.github.com/repos/asgeirrr/django-piston/contents/{+path}","compare_url":"https://api.github.com/repos/asgeirrr/django-piston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asgeirrr/django-piston/merges","archive_url":"https://api.github.com/repos/asgeirrr/django-piston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asgeirrr/django-piston/downloads","issues_url":"https://api.github.com/repos/asgeirrr/django-piston/issues{/number}","pulls_url":"https://api.github.com/repos/asgeirrr/django-piston/pulls{/number}","milestones_url":"https://api.github.com/repos/asgeirrr/django-piston/milestones{/number}","notifications_url":"https://api.github.com/repos/asgeirrr/django-piston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asgeirrr/django-piston/labels{/name}","releases_url":"https://api.github.com/repos/asgeirrr/django-piston/releases{/id}","created_at":"2014-11-14T15:07:39Z","updated_at":"2014-11-14T15:07:39Z","pushed_at":"2014-12-05T12:02:39Z","git_url":"git://github.com/asgeirrr/django-piston.git","ssh_url":"git@github.com:asgeirrr/django-piston.git","clone_url":"https://github.com/asgeirrr/django-piston.git","svn_url":"https://github.com/asgeirrr/django-piston","homepage":null,"size":477,"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":"matllubos:v1.0.0","ref":"v1.0.0","sha":"ffd38a302f0c0e5a493c0618e74c02e219ede237","user":{"login":"matllubos","id":424409,"avatar_url":"https://avatars.githubusercontent.com/u/424409?v=3","gravatar_id":"","url":"https://api.github.com/users/matllubos","html_url":"https://github.com/matllubos","followers_url":"https://api.github.com/users/matllubos/followers","following_url":"https://api.github.com/users/matllubos/following{/other_user}","gists_url":"https://api.github.com/users/matllubos/gists{/gist_id}","starred_url":"https://api.github.com/users/matllubos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matllubos/subscriptions","organizations_url":"https://api.github.com/users/matllubos/orgs","repos_url":"https://api.github.com/users/matllubos/repos","events_url":"https://api.github.com/users/matllubos/events{/privacy}","received_events_url":"https://api.github.com/users/matllubos/received_events","type":"User","site_admin":false},"repo":{"id":16486903,"name":"django-piston","full_name":"matllubos/django-piston","owner":{"login":"matllubos","id":424409,"avatar_url":"https://avatars.githubusercontent.com/u/424409?v=3","gravatar_id":"","url":"https://api.github.com/users/matllubos","html_url":"https://github.com/matllubos","followers_url":"https://api.github.com/users/matllubos/followers","following_url":"https://api.github.com/users/matllubos/following{/other_user}","gists_url":"https://api.github.com/users/matllubos/gists{/gist_id}","starred_url":"https://api.github.com/users/matllubos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matllubos/subscriptions","organizations_url":"https://api.github.com/users/matllubos/orgs","repos_url":"https://api.github.com/users/matllubos/repos","events_url":"https://api.github.com/users/matllubos/events{/privacy}","received_events_url":"https://api.github.com/users/matllubos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matllubos/django-piston","description":"","fork":false,"url":"https://api.github.com/repos/matllubos/django-piston","forks_url":"https://api.github.com/repos/matllubos/django-piston/forks","keys_url":"https://api.github.com/repos/matllubos/django-piston/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matllubos/django-piston/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matllubos/django-piston/teams","hooks_url":"https://api.github.com/repos/matllubos/django-piston/hooks","issue_events_url":"https://api.github.com/repos/matllubos/django-piston/issues/events{/number}","events_url":"https://api.github.com/repos/matllubos/django-piston/events","assignees_url":"https://api.github.com/repos/matllubos/django-piston/assignees{/user}","branches_url":"https://api.github.com/repos/matllubos/django-piston/branches{/branch}","tags_url":"https://api.github.com/repos/matllubos/django-piston/tags","blobs_url":"https://api.github.com/repos/matllubos/django-piston/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matllubos/django-piston/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matllubos/django-piston/git/refs{/sha}","trees_url":"https://api.github.com/repos/matllubos/django-piston/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matllubos/django-piston/statuses/{sha}","languages_url":"https://api.github.com/repos/matllubos/django-piston/languages","stargazers_url":"https://api.github.com/repos/matllubos/django-piston/stargazers","contributors_url":"https://api.github.com/repos/matllubos/django-piston/contributors","subscribers_url":"https://api.github.com/repos/matllubos/django-piston/subscribers","subscription_url":"https://api.github.com/repos/matllubos/django-piston/subscription","commits_url":"https://api.github.com/repos/matllubos/django-piston/commits{/sha}","git_commits_url":"https://api.github.com/repos/matllubos/django-piston/git/commits{/sha}","comments_url":"https://api.github.com/repos/matllubos/django-piston/comments{/number}","issue_comment_url":"https://api.github.com/repos/matllubos/django-piston/issues/comments{/number}","contents_url":"https://api.github.com/repos/matllubos/django-piston/contents/{+path}","compare_url":"https://api.github.com/repos/matllubos/django-piston/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matllubos/django-piston/merges","archive_url":"https://api.github.com/repos/matllubos/django-piston/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matllubos/django-piston/downloads","issues_url":"https://api.github.com/repos/matllubos/django-piston/issues{/number}","pulls_url":"https://api.github.com/repos/matllubos/django-piston/pulls{/number}","milestones_url":"https://api.github.com/repos/matllubos/django-piston/milestones{/number}","notifications_url":"https://api.github.com/repos/matllubos/django-piston/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matllubos/django-piston/labels{/name}","releases_url":"https://api.github.com/repos/matllubos/django-piston/releases{/id}","created_at":"2014-02-03T17:32:33Z","updated_at":"2015-06-16T19:50:19Z","pushed_at":"2015-08-12T13:52:03Z","git_url":"git://github.com/matllubos/django-piston.git","ssh_url":"git@github.com:matllubos/django-piston.git","clone_url":"https://github.com/matllubos/django-piston.git","svn_url":"https://github.com/matllubos/django-piston","homepage":null,"size":957,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matllubos/django-piston/pulls/6"},"html":{"href":"https://github.com/matllubos/django-piston/pull/6"},"issue":{"href":"https://api.github.com/repos/matllubos/django-piston/issues/6"},"comments":{"href":"https://api.github.com/repos/matllubos/django-piston/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/matllubos/django-piston/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/matllubos/django-piston/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matllubos/django-piston/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/matllubos/django-piston/statuses/301e8205d069fe424904c50cd60f2248ec20f89d"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":1}}