Re: Multiple serializers

2015-12-14 Thread Mandeep Tondak
Hi, I thing you have an error in you queryset. On Mon, Dec 14, 2015 at 3:47 PM, Bruno A. wrote: > Also having your models would be helpful. > > > On Saturday, 12 December 2015 02:21:07 UTC, Daniel Chimeno wrote: >> >> This question is more about DRF th

Re: Multiple serializers

2015-12-14 Thread Bruno A.
Also having your models would be helpful. On Saturday, 12 December 2015 02:21:07 UTC, Daniel Chimeno wrote: > > This question is more about DRF than > Django itself, I haven't use it for a while so I can't answer you, > but please, put the code in a proper

Re: Multiple serializers

2015-12-11 Thread Daniel Chimeno
This question is more about DRF than Django itself, I haven't use it for a while so I can't answer you, but please, put the code in a proper format way or pastebin, and say the version you are using both Django and DRF in order other people can answer you.

Re: Multiple serializers

2015-12-11 Thread miguel angel lopez mendo
any ? El jueves, 10 de diciembre de 2015, 12:27:26 (UTC-6), miguel angel lopez mendo escribió: > > i have this serializers > > class ValuarCoche(serializers.ModelSerializer): > class Meta: > model = Valuacion > depth = 6 > fields = ('coche','Precio_Venta','Precio_Compra') > > class CocheSerializ

Multiple serializers

2015-12-10 Thread miguel angel lopez mendo
i have this serializers class ValuarCoche(serializers.ModelSerializer): class Meta: model = Valuacion depth = 6 fields = ('coche','Precio_Venta','Precio_Compra') class CocheSerializer2(serializers.ModelSerializer): valuacion = ValuarCoche(many=True) class Meta: model = Coche fields = (