Re: Writing to Nested ModelSerializer

2017-04-02 Thread 'Jason Guy' via Django REST framework
Xavier, Thanks for the explanation. I agree, it feels like I am stuck in my thinking, and trying to fully understand how this should be done. I did a bit for reading, and found in the 3.0 announcement much of what you had said (wi

Re: Possible bug: date is not translated by serializer

2017-04-02 Thread Xavier Ordoquy
Hi, > Are you saying date translation should only be done on the client ? I’m saying that’s an option and possibly a better solution. If one goes in another timezone, one is more likely to change its computer timezone than go through every website and change the settings there. > Unlike in Djan

Re: Possible bug: date is not translated by serializer

2017-04-02 Thread marek . onuszko
W dniu sobota, 1 kwietnia 2017 01:41:14 UTC+2 użytkownik Xavier Ordoquy napisał: > > > That put apart the default behavior would be to return the timezone > informations so your client can do the translation by itself. > I remember an API (written with DRF) that was returning the ISO string (so