bugfix in documents.py
Merge pull request #1 from chidg/master

bugfix in embedded formset factory function