Hello, 

I have a problem that I stuck on for sometimes now. I have two models with 
their respective serializers, these models have @property functions.

The idea is to create API endpoints from one model special for posting data 
and another one to get/retrieve data from the other model.

I manage to post using this endpoint, but if I want to get from other 
endpoint, it returns an empty list.

I have posted the source code on Stack Overflow as shown in the link below:-
https://stackoverflow.com/questions/75868539/django-rest-framework-nested-serializer-returns-empty-list

Regards,
Lodger

-- 
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 django-rest-framework+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/258579b3-81bb-4fb5-97fe-d1449d40585bn%40googlegroups.com.

Reply via email to