carlware/django-mongodbforms — pull request #2 by chidg (2014-11-07 07:39:56+00:00)
Title: EmbeddedDocumentFormset now works properly

Changed EmbeddedDocumentFormset to work with or without an instance. The parent_document argument is supplied via positional argument and is not needed as a kwarg.
Example usage:
```
ChildDocFormSet = embeddedformset_factory(ChildDoc, ParentDoc, form=ChildDocForm, extra=3, can_delete=False)
child_doc_formset = ChildDocFormSet(request.POST or None)
```
Or to edit an instance:
```
ChildDocFormSet = embeddedformset_factory(ChildDoc, ParentDoc, form=ChildDocForm, extra=3, can_delete=False)
child_doc_formset = ChildDocFormSet(request.POST or None, instance=instance)
```