Posts by Diogo Igarassu • 1 point
2 posts
-
0
votes0
answers7
viewsQ: How to filter a list of objects using another list of objects as reference in Django Rest Framework?
I have a User model, which are the users with access to the system, only that each user has to be registered in a work sector, I would like to filter and send via API the list of sectors that have…
-
-1
votes2
answers15
viewsQ: DRF/Django - How to send an attribute value instead of sending a JSON object
Hello, I have an object related to several others, however when I send the JSON, either goes the ID of the related objective or I serializo it and goes the whole object, I would like to send only…