namlook/mongokit — pull request #191 by dtynn (2014-09-22 07:12:20+00:00)
Title: fix a bug

i used a single field structure in a model, like

class A(Document):
structure = {
"a": unicode
}

and added another field, so the model looks like:

class A(Document):
structure = {
"a": unicode,
"b": unicode,
}

but it wouldn't raise the "missed fields" error when i tried to update the data with old structure.