better comment
This commit is contained in:
parent
c2928d8a57
commit
305540f0fd
@ -596,7 +596,7 @@ class Document(BaseDocument):
|
|||||||
if index not in indexes:
|
if index not in indexes:
|
||||||
indexes.append(index)
|
indexes.append(index)
|
||||||
|
|
||||||
# finish up by appending _id, if needed
|
# finish up by appending { '_id': 1 } and { '_cls': 1 }, if needed
|
||||||
if go_up and go_down:
|
if go_up and go_down:
|
||||||
if [(u'_id', 1)] not in indexes:
|
if [(u'_id', 1)] not in indexes:
|
||||||
indexes.append([(u'_id', 1)])
|
indexes.append([(u'_id', 1)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user