I\'m trying to join 2 entities, get specific fields from them, and return a JSON of that.
I tried writing the following code:
import datetime
result
As far as I know, django built-in serializers cannot work with model related fields. Take a look at:
Also see:
Hope that helps.