Updated docs

This commit is contained in:
Ross Lawley 2012-02-29 12:04:43 +00:00
parent a2eb876f8c
commit ae20c785ea
3 changed files with 11 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Changelog Changelog
========= =========
Changes in dev Changes in 0.6
============== ==============
- No longer always upsert on save for items with a '_id' - No longer always upsert on save for items with a '_id'

View File

@ -431,6 +431,12 @@ If a dictionary is passed then the following options are available:
:attr:`unique` (Default: False) :attr:`unique` (Default: False)
Whether the index should be sparse. Whether the index should be sparse.
.. warning::
Inheritance adds extra indices.
If don't need inheritance for a document turn inheritance off - see :ref:`document-inheritance`.
Geospatial indexes Geospatial indexes
--------------------------- ---------------------------
@ -511,6 +517,8 @@ This ensures that the shard key is sent with the query when calling the
'shard_key': ('machine', 'timestamp',) 'shard_key': ('machine', 'timestamp',)
} }
.. _document-inheritance:
Document inheritance Document inheritance
==================== ====================

View File

@ -19,7 +19,7 @@ MongoDB. To install it, simply run
The complete API documentation. The complete API documentation.
:doc:`upgrade` :doc:`upgrade`
The Upgrade guide. How to upgrade MongoEngine.
:doc:`django` :doc:`django`
Using MongoEngine and Django Using MongoEngine and Django