Define renderer_context

2016-08-17 Thread Misael Ramírez Muñiz
Hey guys this may be a really noob question but is there a way to add args o kwargs to a renderer_context. i could not find it enywhere in the documentation. greetings -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe fr

Re: CurrentUserDefault on Serializer

2016-08-17 Thread Jenna Pullen
Thanks Kevin, That worked! On Wednesday, 17 August 2016 03:37:31 UTC+2, Kevin Brown wrote: > > You probably want to use a relational field (PrimaryKeyRelatedField or > similar) and modify the query set used for it within your init method of > your serializer. You should have access to the curre