Created
December 6, 2011 05:54
-
-
Save j2labs/1436934 to your computer and use it in GitHub Desktop.
Hmm... I can't remember where I got to last night.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./embedded_documents.py | |
Traceback (most recent call last): | |
File "./embedded_documents.py", line 130, in <module> | |
class Order(EmbeddedDocument): | |
File "./embedded_documents.py", line 133, in Order | |
line_items = ListField(EmbeddedDocumentField(Product)) | |
File "/Users/jd/Projects/dictshield/dictshield/fields/compound.py", line 194, in __init__ | |
'WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORD') | |
dictshield.base.ShieldException: Invalid embedded document class provided to an EmbeddedDocumentField - <class '__main__.Product'>:WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment