Gareth Lloyd
Results
2
issues of
Gareth Lloyd
``` python import mongoengine class TestDoc(mongoengine.Document): list_field = mongoengine.ListField() mongoengine.connect('test') test_doc = TestDoc.objects.create() ``` After this operation, in spite of the fact that list_field was not given any value, the...
Bug
Discussion
ListField
New Documents should be added to the collection with collection.save(). However, the test in the Document.save() method which tries to determine whether an instance is new gives the wrong result...