Cleaned up the metaclasses for documents

Refactored and clarified intent and
tidied up
This commit is contained in:
Ross Lawley 2012-08-17 11:15:36 +01:00
commit 19da228855
9 changed files with 407 additions and 297 deletions

View file

@ -24,6 +24,8 @@ class QuerySetTest(unittest.TestCase):
name = StringField()
age = IntField()
meta = {'allow_inheritance': True}
Person.drop_collection()
self.Person = Person
def test_initialisation(self):