This commit is contained in:
Ross Lawley 2013-04-19 12:47:19 +00:00
parent 3f49923298
commit 6dcd7006d0

View File

@ -1040,7 +1040,7 @@ class FieldTest(unittest.TestCase):
class BrandGroup(Document): class BrandGroup(Document):
title = StringField(max_length=255, primary_key=True) title = StringField(max_length=255, primary_key=True)
brands = SortedListField(ReferenceField("Brand", dbref=True)) brands = ListField(ReferenceField("Brand", dbref=True))
Brand.drop_collection() Brand.drop_collection()
BrandGroup.drop_collection() BrandGroup.drop_collection()