Dustin Farris
Dustin Farris
It looks like the folks over at DRF already gave this some thought: https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/fields.py#L920-L922
Hi @StErMi, I'm not sure if it's possible to override that in Angular, but as a workaround you can tell DRF to accept a different format. http://www.django-rest-framework.org/api-guide/settings/#date-and-time-formatting
Yeah, DRF will process that just fine for DateTimeField, but not for DateField.
No, it's a design decision. See the link I posted—DRF is explicit about the formats that are accepted, but you can change them in your settings if you need to.
@ewilson thanks. That sounds like a candidate for a "date" transform.
Thanks for this. Can you update the unit test as well? https://github.com/dustinfarris/ember-django-adapter/blob/master/tests/unit/serializers/drf-test.js#L37
Hi @giokokos, this is moving along slowly. Once we iron out Ember Data 2.0 compatibility I plan to refocus and get this over the finish line. Sorry for the delay.
Also waiting for this to get merged: https://github.com/simplabs/ember-simple-auth/pull/602
I know. But for an example repo I'd rather not have to explain that. --Dustin J. Farris On Sun, Aug 30, 2015 at 8:37 PM, ryanlitalien [email protected] wrote: > ##...
EmbeddedRecordsMixin is already working well in EDA—but writable nested serializers are not supported by DRF. Side-loading would be a nice hybrid solution to have the writable pk field, but still...