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
=========
Changes in dev
Changes in 0.6
==============
- 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)
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
---------------------------
@ -447,7 +453,7 @@ point. To create a geospatial index you must prefix the field with the
location = DictField()
meta = {
'indexes': [
'*location.point',
'*location.point',
],
}
@ -511,6 +517,8 @@ This ensures that the shard key is sent with the query when calling the
'shard_key': ('machine', 'timestamp',)
}
.. _document-inheritance:
Document inheritance
====================

View File

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