Merge branch 'master' into 0.8
This commit is contained in:
commit
f0eaec98c7
1 changed files with 1 additions and 1 deletions
|
|
@ -1164,7 +1164,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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue