{"action":"closed","number":87,"pull_request":{"url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87","id":31408112,"html_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine/pull/87","diff_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine/pull/87.diff","patch_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine/pull/87.patch","issue_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/87","number":87,"state":"closed","locked":false,"title":"'null' model field kwarg in Mongoengine 0.9.0 vs 'allow_null' on serializer field","user":{"login":"optik","id":418021,"avatar_url":"https://avatars.githubusercontent.com/u/418021?v=3","gravatar_id":"","url":"https://api.github.com/users/optik","html_url":"https://github.com/optik","followers_url":"https://api.github.com/users/optik/followers","following_url":"https://api.github.com/users/optik/following{/other_user}","gists_url":"https://api.github.com/users/optik/gists{/gist_id}","starred_url":"https://api.github.com/users/optik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optik/subscriptions","organizations_url":"https://api.github.com/users/optik/orgs","repos_url":"https://api.github.com/users/optik/repos","events_url":"https://api.github.com/users/optik/events{/privacy}","received_events_url":"https://api.github.com/users/optik/received_events","type":"User","site_admin":false},"body":"DocumentSerializer's _get_field_kwargs_ method should automatically set 'allow_null' kwarg based on 'null' model field kwarg (introduced in Mongoengine 0.9.0).\r\n_get_field_kwargs_  safely (won't throw AttributeError pre-0.9.0) checks for null attribute on model_field and sets its own kwargs accordingly.","created_at":"2015-03-18T08:25:16Z","updated_at":"2015-09-03T16:39:18Z","closed_at":"2015-09-03T16:39:18Z","merged_at":"2015-09-03T16:39:18Z","merge_commit_sha":"0e5796530f6cc6220f34259f57bbd032024669d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87/commits","review_comments_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87/comments","review_comment_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/87/comments","statuses_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/statuses/a353640a927e4ab0c11111da14348c4c0667e39b","head":{"label":"optik:master","ref":"master","sha":"a353640a927e4ab0c11111da14348c4c0667e39b","user":{"login":"optik","id":418021,"avatar_url":"https://avatars.githubusercontent.com/u/418021?v=3","gravatar_id":"","url":"https://api.github.com/users/optik","html_url":"https://github.com/optik","followers_url":"https://api.github.com/users/optik/followers","following_url":"https://api.github.com/users/optik/following{/other_user}","gists_url":"https://api.github.com/users/optik/gists{/gist_id}","starred_url":"https://api.github.com/users/optik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optik/subscriptions","organizations_url":"https://api.github.com/users/optik/orgs","repos_url":"https://api.github.com/users/optik/repos","events_url":"https://api.github.com/users/optik/events{/privacy}","received_events_url":"https://api.github.com/users/optik/received_events","type":"User","site_admin":false},"repo":{"id":30369850,"name":"django-rest-framework-mongoengine","full_name":"optik/django-rest-framework-mongoengine","owner":{"login":"optik","id":418021,"avatar_url":"https://avatars.githubusercontent.com/u/418021?v=3","gravatar_id":"","url":"https://api.github.com/users/optik","html_url":"https://github.com/optik","followers_url":"https://api.github.com/users/optik/followers","following_url":"https://api.github.com/users/optik/following{/other_user}","gists_url":"https://api.github.com/users/optik/gists{/gist_id}","starred_url":"https://api.github.com/users/optik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optik/subscriptions","organizations_url":"https://api.github.com/users/optik/orgs","repos_url":"https://api.github.com/users/optik/repos","events_url":"https://api.github.com/users/optik/events{/privacy}","received_events_url":"https://api.github.com/users/optik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/optik/django-rest-framework-mongoengine","description":"Mongoengine support for Django Rest Framework","fork":true,"url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine","forks_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/forks","keys_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/teams","hooks_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/hooks","issue_events_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/issues/events{/number}","events_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/events","assignees_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/assignees{/user}","branches_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/branches{/branch}","tags_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/tags","blobs_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/statuses/{sha}","languages_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/languages","stargazers_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/stargazers","contributors_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/contributors","subscribers_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/subscribers","subscription_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/subscription","commits_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/contents/{+path}","compare_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/merges","archive_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/downloads","issues_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/issues{/number}","pulls_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/pulls{/number}","milestones_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/milestones{/number}","notifications_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/labels{/name}","releases_url":"https://api.github.com/repos/optik/django-rest-framework-mongoengine/releases{/id}","created_at":"2015-02-05T18:00:49Z","updated_at":"2015-04-17T10:41:22Z","pushed_at":"2015-09-03T13:13:39Z","git_url":"git://github.com/optik/django-rest-framework-mongoengine.git","ssh_url":"git@github.com:optik/django-rest-framework-mongoengine.git","clone_url":"https://github.com/optik/django-rest-framework-mongoengine.git","svn_url":"https://github.com/optik/django-rest-framework-mongoengine","homepage":"","size":494,"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":"umutbozkurt:master","ref":"master","sha":"e4255c1757512d6a7be6fb5cbe96bfa92a1aafb0","user":{"login":"umutbozkurt","id":5842729,"avatar_url":"https://avatars.githubusercontent.com/u/5842729?v=3","gravatar_id":"","url":"https://api.github.com/users/umutbozkurt","html_url":"https://github.com/umutbozkurt","followers_url":"https://api.github.com/users/umutbozkurt/followers","following_url":"https://api.github.com/users/umutbozkurt/following{/other_user}","gists_url":"https://api.github.com/users/umutbozkurt/gists{/gist_id}","starred_url":"https://api.github.com/users/umutbozkurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umutbozkurt/subscriptions","organizations_url":"https://api.github.com/users/umutbozkurt/orgs","repos_url":"https://api.github.com/users/umutbozkurt/repos","events_url":"https://api.github.com/users/umutbozkurt/events{/privacy}","received_events_url":"https://api.github.com/users/umutbozkurt/received_events","type":"User","site_admin":false},"repo":{"id":18853469,"name":"django-rest-framework-mongoengine","full_name":"umutbozkurt/django-rest-framework-mongoengine","owner":{"login":"umutbozkurt","id":5842729,"avatar_url":"https://avatars.githubusercontent.com/u/5842729?v=3","gravatar_id":"","url":"https://api.github.com/users/umutbozkurt","html_url":"https://github.com/umutbozkurt","followers_url":"https://api.github.com/users/umutbozkurt/followers","following_url":"https://api.github.com/users/umutbozkurt/following{/other_user}","gists_url":"https://api.github.com/users/umutbozkurt/gists{/gist_id}","starred_url":"https://api.github.com/users/umutbozkurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umutbozkurt/subscriptions","organizations_url":"https://api.github.com/users/umutbozkurt/orgs","repos_url":"https://api.github.com/users/umutbozkurt/repos","events_url":"https://api.github.com/users/umutbozkurt/events{/privacy}","received_events_url":"https://api.github.com/users/umutbozkurt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine","description":"Mongoengine support for Django Rest Framework","fork":false,"url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine","forks_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/forks","keys_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/teams","hooks_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/hooks","issue_events_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/events{/number}","events_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/events","assignees_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/assignees{/user}","branches_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/branches{/branch}","tags_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/tags","blobs_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/statuses/{sha}","languages_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/languages","stargazers_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/stargazers","contributors_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/contributors","subscribers_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/subscribers","subscription_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/subscription","commits_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/contents/{+path}","compare_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/merges","archive_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/downloads","issues_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues{/number}","pulls_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls{/number}","milestones_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/milestones{/number}","notifications_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/labels{/name}","releases_url":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/releases{/id}","created_at":"2014-04-16T19:50:50Z","updated_at":"2015-08-27T17:40:46Z","pushed_at":"2015-09-03T16:39:18Z","git_url":"git://github.com/umutbozkurt/django-rest-framework-mongoengine.git","ssh_url":"git@github.com:umutbozkurt/django-rest-framework-mongoengine.git","clone_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine.git","svn_url":"https://github.com/umutbozkurt/django-rest-framework-mongoengine","homepage":"","size":1287,"stargazers_count":115,"watchers_count":115,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":33,"forks":65,"open_issues":33,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87"},"html":{"href":"https://github.com/umutbozkurt/django-rest-framework-mongoengine/pull/87"},"issue":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/87"},"comments":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/umutbozkurt/django-rest-framework-mongoengine/statuses/a353640a927e4ab0c11111da14348c4c0667e39b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Jcbobo88","id":9772903,"avatar_url":"https://avatars.githubusercontent.com/u/9772903?v=3","gravatar_id":"","url":"https://api.github.com/users/Jcbobo88","html_url":"https://github.com/Jcbobo88","followers_url":"https://api.github.com/users/Jcbobo88/followers","following_url":"https://api.github.com/users/Jcbobo88/following{/other_user}","gists_url":"https://api.github.com/users/Jcbobo88/gists{/gist_id}","starred_url":"https://api.github.com/users/Jcbobo88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jcbobo88/subscriptions","organizations_url":"https://api.github.com/users/Jcbobo88/orgs","repos_url":"https://api.github.com/users/Jcbobo88/repos","events_url":"https://api.github.com/users/Jcbobo88/events{/privacy}","received_events_url":"https://api.github.com/users/Jcbobo88/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":15,"deletions":1,"changed_files":1}}