Add value_decorator into SequenceField
Allows post processing of the calculated counter value.
This commit is contained in:
parent
1986e82783
commit
99fe1da345
4 changed files with 50 additions and 15 deletions
|
|
@ -57,6 +57,13 @@ you will need to declare :attr:`allow_inheritance` in the meta data like so:
|
|||
meta = {'allow_inheritance': True}
|
||||
|
||||
|
||||
SequenceFields
|
||||
--------------
|
||||
|
||||
:class:`~mongoengine.fields.SequenceField`s now inherit from `BaseField` to
|
||||
allow flexible storage of the calculated value. As such MIN and MAX settings
|
||||
are no longer handled.
|
||||
|
||||
0.6 to 0.7
|
||||
==========
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue