Merge branch 'master' of https://github.com/mjtamlyn/mongoengine into transform_update
This commit is contained in:
commit
aa9ed614ad
2 changed files with 7 additions and 0 deletions
|
|
@ -1365,6 +1365,7 @@ class QuerySet(object):
|
|||
raise OperationError(u'Update failed [%s]' % unicode(e))
|
||||
|
||||
def __iter__(self):
|
||||
self.rewind()
|
||||
return self
|
||||
|
||||
def _sub_js_fields(self, code):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue