Re: get_identity method of BaseSerializer removed in DRF 3.x version. But no documentation

2017-06-14 Thread Xavier Ordoquy
Hi, mapping between data and instances is performed when instantiating the serializer. Depending on your use case, it'll be get_object and/or your own code that would substitute to it. Regards, Xavier Ordoquy, Linovia. Le mercredi 14 juin 2017 18:44:09 UTC+2, Priyanka Thakur a écrit : > > Hi,

get_identity method of BaseSerializer removed in DRF 3.x version. But no documentation

2017-06-14 Thread Priyanka Thakur
Hi, We have overridden the "get_identity" method of BaseSerializer class in DRF 2.3 version. But in DRF 3.6.2 version this method is no longer supported. I tried looking for documentation, but couldn't found any. Please guide and explain how can i overide this implementation using DRF 3.6. Re