Merge pull request #2187 from bagerard/improve_error_message_InvalidDocumentError

Improve error message from InvalidDocumentError
This commit is contained in:
Bastien Gérard
2019-11-08 21:27:17 +01:00
committed by GitHub
3 changed files with 34 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ Development
- If you catch/use ``MongoEngineConnectionError`` in your code, you'll have to rename it.
- BREAKING CHANGE: Positional arguments when instantiating a document are no longer supported. #2103
- From now on keyword arguments (e.g. ``Doc(field_name=value)``) are required.
- Improve error message related to InvalidDocumentError #2180
- Fix updating/modifying/deleting/reloading a document that's sharded by a field with ``db_field`` specified. #2125
- ``ListField`` now accepts an optional ``max_length`` parameter. #2110
- Switch from nosetest to pytest as test runner #2114