mitar/django-tastypie-mongoengine — pull request #46 by lawrlee (2013-04-12 06:38:34+00:00)
Title: embedded document schema tests

I added a few tests to test_basic.py and exposed the appropriate resources in urls.py. Again, I'm not sure if your original intent was to allow EmbeddedDocuments' schema to be exposed, but it did work in 0.3 and not in 0.4.

My use case is that I'm providing nested forms to enter information into documents with embedded documents. I am using the schema to drive the form display by providing field names, whether the field is required, field type, etc. Without the schema available, if the embedded list field is empty, there is no way to know the embedded document structure.