Merge branch 'master' of github.com:MongoEngine/mongoengine
This commit is contained in:
commit
017a31ffd0
@ -688,6 +688,7 @@ class TopLevelDocumentMetaclass(DocumentMetaclass):
|
|||||||
keys_to_propogate = (
|
keys_to_propogate = (
|
||||||
'index_background', 'index_drop_dups', 'index_opts',
|
'index_background', 'index_drop_dups', 'index_opts',
|
||||||
'allow_inheritance', 'queryset_class', 'db_alias',
|
'allow_inheritance', 'queryset_class', 'db_alias',
|
||||||
|
'shard_key'
|
||||||
)
|
)
|
||||||
for key in keys_to_propogate:
|
for key in keys_to_propogate:
|
||||||
if key in base._meta:
|
if key in base._meta:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user