{"issue":{"state":"open","created_at":"2011-12-01T03:02:48Z","updated_at":"2011-12-05T16:10:37Z","comments":2,"user":{"gravatar_id":"8371744716a9335eb3dcae228fd9d996","id":180459,"url":"https://api.github.com/users/jsocol","avatar_url":"https://secure.gravatar.com/avatar/8371744716a9335eb3dcae228fd9d996?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jsocol"},"body":"MongoEngine trivially supports the following structure, but mongoadmin does not:\r\n\r\n```python\r\nclass Inner(EmbeddedDocument):\r\n    val = StringField()\r\n\r\nclass Outer(Document):\r\n    name = StringField()\r\n    inner = EmbeddedDocumentField(Inner)\r\n```\r\n\r\nI'm working on a pull request but I wanted to get this on file in case you have any ideas.","assignee":null,"id":2410438,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2,"title":"EmbeddedDocuments must be in ListFields","html_url":"https://github.com/jschrewe/django-mongoadmin/issues/2","closed_at":null,"url":"https://api.github.com/repos/jschrewe/django-mongoadmin/issues/2","milestone":null},"action":"created","comment":{"created_at":"2011-12-05T16:10:37Z","updated_at":"2011-12-05T16:10:37Z","user":{"gravatar_id":"4cc586fdcc37c2f9a4cdcec5f721d13e","id":874479,"url":"https://api.github.com/users/jschrewe","avatar_url":"https://secure.gravatar.com/avatar/4cc586fdcc37c2f9a4cdcec5f721d13e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jschrewe"},"body":"Yeah, you're right that doesn't work. I was never sure about how to represent that right in the admin. Now that I think about it for some more time: Adding an inline admin with exactly one form should be the way to go. That should actually be quite easy to handle. I'm not sure how far your pull request has come along. If it's not that far I'd look into it or I can wait.","id":3018886,"url":"https://api.github.com/repos/jschrewe/django-mongoadmin/issues/comments/3018886"}}