Merge remote branch 'upstream/master'

This commit is contained in:
Ross Lawley
2011-05-09 09:01:19 +01:00
3 changed files with 3 additions and 6 deletions

View File

@@ -134,8 +134,8 @@ document class as the first argument::
class Page(Document):
comments = ListField(EmbeddedDocumentField(Comment))
comment1 = Comment('Good work!')
comment2 = Comment('Nice article!')
comment1 = Comment(content='Good work!')
comment2 = Comment(content='Nice article!')
page = Page(comments=[comment1, comment2])
Dictionary Fields