How to serialize a single json field from two reverse foreign key relationships in Django REST Framework?
What I need I'd like to get a single json field in the API response which lists identifiers for related objects based on two reverse foreign key relationships. Simple example what I mean by that is presented below. I'd highly…