custom field validator is now expected to raise a ValidationError (drop support for returning True/False)
This commit is contained in:
@@ -5,6 +5,8 @@ Changelog
|
||||
Development
|
||||
===========
|
||||
- Add support for MongoDB 3.6 and Python3.7 in travis
|
||||
- BREAKING CHANGE: Changed the custom field validator (i.e `validation` parameter of Field) so that it now requires:
|
||||
the callable to raise a ValidationError (i.o return True/False).
|
||||
- Fix querying on List(EmbeddedDocument) subclasses fields #1961 #1492
|
||||
- Fix querying on (Generic)EmbeddedDocument subclasses fields #475
|
||||
- expose `mongoengine.connection.disconnect` and `mongoengine.connection.disconnect_all`
|
||||
|
Reference in New Issue
Block a user