Fixes typo in documents - thanks Shalabh

Closes #406
This commit is contained in:
Ross Lawley
2012-01-16 09:11:00 +00:00
parent 02b1aa7355
commit 12f884e3ac
2 changed files with 6 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ arguments can be set on all fields:
:attr:`help_text` (Default: None)
Optional help text to output with the field - used by form libraries
:attr:`verbose` (Default: None)
:attr:`verbose_name` (Default: None)
Optional human-readable name for the field - used by form libraries
@@ -481,9 +481,9 @@ Shard keys
If your collection is sharded, then you need to specify the shard key as a tuple,
using the :attr:`shard_key` attribute of :attr:`-mongoengine.Document.meta`.
This ensures that the shard key is sent with the query when calling the
:meth:`~mongoengine.document.Document.save` or
:meth:`~mongoengine.document.Document.update` method on an existing
This ensures that the shard key is sent with the query when calling the
:meth:`~mongoengine.document.Document.save` or
:meth:`~mongoengine.document.Document.update` method on an existing
:class:`-mongoengine.Document` instance::
class LogEntry(Document):