{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3052","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3052/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3052/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3052/events","html_url":"https://github.com/tomchristie/django-rest-framework/pull/3052","id":89694803,"number":3052,"title":"allow user to pass additional fields to constructor","user":{"login":"seawolf42","id":2721922,"avatar_url":"https://avatars.githubusercontent.com/u/2721922?v=3","gravatar_id":"","url":"https://api.github.com/users/seawolf42","html_url":"https://github.com/seawolf42","followers_url":"https://api.github.com/users/seawolf42/followers","following_url":"https://api.github.com/users/seawolf42/following{/other_user}","gists_url":"https://api.github.com/users/seawolf42/gists{/gist_id}","starred_url":"https://api.github.com/users/seawolf42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seawolf42/subscriptions","organizations_url":"https://api.github.com/users/seawolf42/orgs","repos_url":"https://api.github.com/users/seawolf42/repos","events_url":"https://api.github.com/users/seawolf42/events{/privacy}","received_events_url":"https://api.github.com/users/seawolf42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-20T00:53:20Z","updated_at":"2015-06-21T18:05:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/pulls/3052","html_url":"https://github.com/tomchristie/django-rest-framework/pull/3052","diff_url":"https://github.com/tomchristie/django-rest-framework/pull/3052.diff","patch_url":"https://github.com/tomchristie/django-rest-framework/pull/3052.patch"},"body":"When a consumer creates an object, sometimes additional fields need to be passed to the model beyond what is collected in the form. Adding support for 'extra_fields' in kwargs allows the consumer to submit these fields. Examples would include the request.user object."},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/113936167","html_url":"https://github.com/tomchristie/django-rest-framework/pull/3052#issuecomment-113936167","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3052","id":113936167,"user":{"login":"seawolf42","id":2721922,"avatar_url":"https://avatars.githubusercontent.com/u/2721922?v=3","gravatar_id":"","url":"https://api.github.com/users/seawolf42","html_url":"https://github.com/seawolf42","followers_url":"https://api.github.com/users/seawolf42/followers","following_url":"https://api.github.com/users/seawolf42/following{/other_user}","gists_url":"https://api.github.com/users/seawolf42/gists{/gist_id}","starred_url":"https://api.github.com/users/seawolf42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seawolf42/subscriptions","organizations_url":"https://api.github.com/users/seawolf42/orgs","repos_url":"https://api.github.com/users/seawolf42/repos","events_url":"https://api.github.com/users/seawolf42/events{/privacy}","received_events_url":"https://api.github.com/users/seawolf42/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T18:05:43Z","updated_at":"2015-06-21T18:05:43Z","body":"Got it. I didn’t see how that data was actually being passed through and so the docs left me thinking it didn’t do what I needed. You can completely disregard my pull request.\n\n---------- \njeffrey k eliasen - technologist, philosopher, agent of change\nblog <http://jeff.jke.net/> | linkedin <http://www.linkedin.com/pub/jeffrey-eliasen/3/a83/b76> | google+ <http://plus.google.com/+JeffreyEliasen> | facebook <http://facebook.com/jeffrey.eliasen> | twitter <http://twitter.com/jeffreyeliasen>\n> On Jun 19, 2015, at 18:12, Kevin Brown <notifications@github.com> wrote:\n> \n> This sounds like the entire point of overriding perform_create and perform_update. They're designed to be extension points where extra information (such as the current user, current time, etc.) can be injected into the serializer and saved with the rest of the model.\n> \n> Maybe I'm missing something though, it is a bit late.\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/tomchristie/django-rest-framework/pull/3052#issuecomment-113705869>.\n> \n\n"}}