added default ordering to meta options, included docs and tests

This commit is contained in:
blackbrrr
2010-01-07 23:08:33 -06:00
parent 2a7fc03e79
commit 9195d96705
4 changed files with 71 additions and 1 deletions

View File

@@ -155,6 +155,7 @@ class TopLevelDocumentMetaclass(DocumentMetaclass):
'allow_inheritance': True,
'max_documents': None,
'max_size': None,
'ordering': [], # default ordering applied at runtime
'indexes': [] # indexes to be ensured at runtime
}