diff --git a/AUTHORS b/AUTHORS index f424dbc2..37170ffa 100644 --- a/AUTHORS +++ b/AUTHORS @@ -222,3 +222,4 @@ that much better: * Catstyle Lee (https://github.com/Catstyle) * Kiryl Yermakou (https://github.com/rma4ok) * Matthieu Rigal (https://github.com/MRigal) + * Charanpal Dhanjal (https://github.com/charanpald) diff --git a/README.rst b/README.rst index 2d17313f..f2829cd3 100644 --- a/README.rst +++ b/README.rst @@ -81,7 +81,7 @@ Some simple examples of what MongoEngine code looks like:: >>> len(BlogPost.objects) 2 - >>> len(HtmlPost.objects) + >>> len(TextPost.objects) 1 >>> len(LinkPost.objects) 1 diff --git a/docs/guide/defining-documents.rst b/docs/guide/defining-documents.rst index 56370c14..79332493 100644 --- a/docs/guide/defining-documents.rst +++ b/docs/guide/defining-documents.rst @@ -114,7 +114,7 @@ arguments can be set on all fields: :attr:`default` (Default: None) A value to use when no value is set for this field. - The definion of default parameters follow `the general rules on Python + The definition of default parameters follow `the general rules on Python `__, which means that some care should be taken when dealing with default mutable objects (like in :class:`~mongoengine.fields.ListField` or :class:`~mongoengine.fields.DictField`)::