My model consists of 3 classes: Offer, Application, and Contract. 


Relationships are as follows:

(1) Application to Offer: One to One

(2) Application to Contract: One to One


Is there a way for me to access Contract from Offer via Application in a 
single REST call? I know how to access Application from Offer since they 
are related. A way around this is to relate Offer to Contract but I would 
prefer not to do this because it would not be considered good relational 
database design.

Any help would be greatly appreciated. Thanks.

-- 
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/68a53b1a-9ac8-41f9-856f-26f54046e35e%40googlegroups.com.

Reply via email to