Merge pull request #24 from akheron/patch-1

Fix a doc error in after_bind example
This commit is contained in:
Chris McDonough
2011-09-23 12:46:56 -07:00

View File

@@ -222,7 +222,7 @@ This can be useful for adding and removing children from schema nodes:
)
blog_schema = BlogPostSchema(after_bind=maybe_remove_date)
blog_schema = blog_schema.bind({'use_date':False})
blog_schema = blog_schema.bind(use_date=False)
An ``after_bind`` callback is called after a clone of this node has
bound all of its values successfully. The above example removes the