escalant3 / ember-data-tastypie-adapter

An adapter to connect django applications powered by django-tastypie with ember.js apps
MIT License
102 stars 26 forks source link

Add support for embedded = 'always' #23

Closed olofsj closed 11 years ago

olofsj commented 11 years ago

This pull request adds support for posting embedded relations back to the server. It's a quite small change to the serializer to check if embedded = 'always' and if so add the serialized related object instead of the url.

escalant3 commented 11 years ago

Hi @olofsj,

thanks for this! I am merging it in now. Also, could you provide a unit test to check that future changes don't break this feature? Or help me creating one?