mitar/django-tastypie-mongoengine — pull request #16 by leo-naeka (2012-06-14 10:05:26+00:00)
Title: Failing with embedded documents' embedded lists

Hi,

This is a case where embedded lists are not dehydrated when they are within an embedded document since it does not have a pk.

Fix works well and all test cases are completed but it may be a little dirty since I don't figure out why pk is required in the dehydrate process...
Note that reverse_uri remains empty since embedded nested resources can not be acceded through the API.

Signed-off-by: Léo S. leo@naeka.fr