Merge branch 'master' of github.com:MongoEngine/mongoengine

This commit is contained in:
Ross Lawley 2012-08-07 13:24:27 +01:00
commit 017a31ffd0

View File

@ -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: