Hi, I encountered the same situation, do you know how to deal with it? 在 2018年3月24日星期六 UTC+8上午6:48:23,Sassan Haradji写道: > > Is it possible to dynamically change queryset of a nested field based on > request.user for example? It is possible for PrimaryKeyRelatedField by > changing queryset attribute of the field in serializer's __init__, I need > the same for a nested field. > I know how to do it with MethodFields, but I want it to be writable. >
-- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
