You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django REST framework
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.
q391...@qq.com
unread,
Sep 15, 2018, 2:23:10 PM9/15/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django REST framework
Hi, I encountered the same situation, do you know how to deal with it?