Doc updates
This commit is contained in:
parent
ede9fcfb00
commit
44a2a164c0
@ -9,7 +9,7 @@ Changes in 0.8.2
|
|||||||
- Fixed cascading saves which weren't turned off as planned (#291)
|
- Fixed cascading saves which weren't turned off as planned (#291)
|
||||||
- Fixed Datastructures so instances are a Document or EmbeddedDocument (#363)
|
- Fixed Datastructures so instances are a Document or EmbeddedDocument (#363)
|
||||||
- Improved cascading saves write performance (#361)
|
- Improved cascading saves write performance (#361)
|
||||||
- Fixed amibiguity and differing behaviour regarding field defaults (#349)
|
- Fixed ambiguity and differing behaviour regarding field defaults (#349)
|
||||||
- ImageFields now include PIL error messages if invalid error (#353)
|
- ImageFields now include PIL error messages if invalid error (#353)
|
||||||
- Added lock when calling doc.Delete() for when signals have no sender (#350)
|
- Added lock when calling doc.Delete() for when signals have no sender (#350)
|
||||||
- Reload forces read preference to be PRIMARY (#355)
|
- Reload forces read preference to be PRIMARY (#355)
|
||||||
|
@ -450,8 +450,8 @@ by creating a list of index specifications called :attr:`indexes` in the
|
|||||||
:attr:`~mongoengine.Document.meta` dictionary, where an index specification may
|
:attr:`~mongoengine.Document.meta` dictionary, where an index specification may
|
||||||
either be a single field name, a tuple containing multiple field names, or a
|
either be a single field name, a tuple containing multiple field names, or a
|
||||||
dictionary containing a full index definition. A direction may be specified on
|
dictionary containing a full index definition. A direction may be specified on
|
||||||
fields by prefixing the field name with a **+** or a **-** sign. Note that
|
fields by prefixing the field name with a **+** (for ascending) or a **-** sign
|
||||||
direction only matters on multi-field indexes. ::
|
(for descending). Note that direction only matters on multi-field indexes. ::
|
||||||
|
|
||||||
class Page(Document):
|
class Page(Document):
|
||||||
title = StringField()
|
title = StringField()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user