Re: Writing to Nested ModelSerializer

2017-03-31 Thread Xavier Ordoquy
Hi, > Le 31 mars 2017 à 23:43, 'Jason Guy' via Django REST framework > a écrit : > > After spending a week re-reading the docs, digging into the source, searching > this forum, and testing and tracing with pdb, I decided it is time to ask for > help. I finally feel like I have isolated what I

Re: Possible bug: date is not translated by serializer

2017-03-31 Thread Xavier Ordoquy
Hi, You got it right. Please note that an accept language is by no mean a location. en-US is 4 or 5 timezones (don’t remember and limited internet connection, you’ll correct), let alone russian. Amazingly France spans 11 timezones (iirc, no april fool) so pretty hard for fr-FR to set a TZ. That

Writing to Nested ModelSerializer

2017-03-31 Thread 'Jason Guy' via Django REST framework
After spending a week re-reading the docs, digging into the source, searching this forum, and testing and tracing with pdb, I decided it is time to ask for help. I finally feel like I have isolated what I don't understand about the DRF and implementing a flexible way to write to my nested seria

Possible bug: date is not translated by serializer

2017-03-31 Thread marek . onuszko
Hi, I'm learning Django Rest Framework but otherwise I'm quite proficient with Django. I have a website which uses translations, the usual stuff: {% trans %}, {% blocktrans %}, but also JavaScriptCatalog for xhr. So far, so good. Everything is translated into one of the website's languages, E

djangomodelpermissions

2017-03-31 Thread kanhaiya yadav
how to apply permissions per viewsets -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more optio