Django Rest Framework Serializer not printing nested relationship

2021-02-27 Thread Sebas Bond
I've got established a relationship between 2 models: Order and OrderLine. I've created serializers for both of them following the DRF documentation, yet when printing the serializer.data the nested objects don't show. Here are my models: class Order(models.Model): id =

Elasticsearch

2021-02-27 Thread Praveen chaduvala
Any one know how to work with elasticsearch in django postgreesql.. Get data from postgreesql and convert to elasticsearch and use in APIs.. Please send me any documents , examples... -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To