3751 Commits

Author SHA1 Message Date
Bastien Gérard
904fcd1a0a
Merge pull request #2424 from bagerard/bump_0_21_0
Prepare 0.21.0 release
v0.21.0
2020-11-19 09:02:22 +01:00
Bastien Gérard
2ec454447f Bump version to 0.21.0 and update changelog 2020-11-18 22:28:06 +01:00
Bastien Gérard
ecd297e227
Merge pull request #2414 from bagerard/fix_db_fields_inconsistencies_in_constructor
Fix some issues related with db_field in constructor
2020-11-18 22:25:25 +01:00
Bastien Gérard
079ee3c191
Merge pull request #2417 from bagerard/add_migration_documentation
Add migration documentation
2020-11-18 22:19:19 +01:00
Bastien Gérard
f2638ecd02 update changelog 2020-11-14 15:31:39 +01:00
Bastien Gérard
ad6ff819fe Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_db_fields_inconsistencies_in_constructor 2020-11-14 14:44:08 +01:00
Bastien Gérard
48357640c6 improve deprecated pymongo call 2020-11-14 14:41:59 +01:00
Bastien Gérard
e6c2169f76
Merge pull request #2418 from bagerard/add_black_formatting_badge
Add black badge to readme
2020-11-14 13:42:57 +01:00
Bastien Gérard
1d17dc4663 Add black badge to readme to emphasize that repo is using autoformatter black as it is often forgotten in PR and makes CI failing 2020-11-12 22:13:53 +01:00
Bastien Gérard
eeac3bd2e6
Merge pull request #2416 from bagerard/remove_python_35
Remove Py3.5 as it is EOL and added 3.9 to CI
2020-11-12 09:47:44 +01:00
Bastien Gérard
3f5a15d236 improve changelog 2020-11-12 00:43:22 +01:00
Bastien Gérard
91493a1e79 improve migration doc 2020-11-12 00:40:52 +01:00
Bastien Gérard
0c274908ec Merge branch 'master' of github.com:MongoEngine/mongoengine into add_migration_documentation 2020-11-11 21:18:52 +01:00
Bastien Gérard
338c40b5d5 Remove Py3.5 as it is EOL and added 3.9 to CI 2020-11-11 21:14:54 +01:00
Bastien Gérard
fc3ccf9606
Merge pull request #2415 from bagerard/add_srv_uri_connect_doc
Document fact that srv URI can be used with host #1956
2020-11-11 21:05:52 +01:00
Bastien Gérard
746faceb5c Document fact that srv URI can be used with host #1956 2020-11-08 22:55:24 +01:00
Bastien Gérard
8c3058d99b Fix some issues related with db_field in constructor by removing field/db_field translation that shouldn't occur in constructor 2020-11-08 22:36:58 +01:00
Bastien Gérard
eb56fb9bda
Merge pull request #2413 from bagerard/dynamic_document_parsing_known_fields
Bug fix in DynamicDocument which is not parsing known fields
2020-11-08 13:17:07 +01:00
Bastien Gérard
161493c0d2
Merge pull request #2408 from bagerard/refactoring_remove_useless_code_only_fields
Removed code related to Document.__only_fields
2020-11-08 13:16:03 +01:00
Bastien Gérard
cb9f329d11
Merge pull request #2401 from SMASHDOCs/bugfix-save-sharding
Bugfix #2154
2020-11-07 21:43:49 +01:00
Bastien Gérard
03af784ebe Bug fix in DynamicDocument which isn not parsing known fields in constructor like Document do #2412 2020-11-07 21:30:23 +01:00
Felix Schultheiß
e5f6e4584a Merge commit master into bugfix-save-sharding 2020-11-03 10:05:31 +01:00
Felix Schultheiß
79f9f223d0 added to authors 2020-11-03 10:00:15 +01:00
Felix Schultheiß
0bc18cd6e1 fixed shard test case for old mongodb version 2020-11-03 10:00:02 +01:00
Felix Schultheiß
30a3c6a5b7 added testcase for save create with shard key 2020-11-02 17:30:24 +01:00
Bastien Gérard
90c5d83f84 remove deprecated comment 2020-11-02 15:02:11 +01:00
Bastien Gérard
d8b8ff6851 Removed code related to Document.__only_fields and Queryset.only_fields which appear to have no effect 2020-11-02 14:52:02 +01:00
Bastien Gérard
ee664f0c90
Merge pull request #2406 from bagerard/improve_enumfield_doc
improve EnumField Doc and add quick test
2020-11-01 23:08:30 +01:00
Bastien Gérard
f8d371229e tmp work on migration doc 2020-11-01 20:25:35 +01:00
Bastien Gérard
94a7e813b1 fix difference in test for certain version of pymongo 2020-11-01 19:37:13 +01:00
Bastien Gérard
8ef7213426 improve EnumField Doc and add quick test 2020-11-01 14:05:58 +01:00
Bastien Gérard
2f4464ead5
Merge pull request #2404 from mas15/add-enum-field
Add EnumField
2020-11-01 13:41:20 +01:00
Bastien Gérard
89b93461ac
Merge pull request #2405 from bagerard/remove_encoding_declarations
remove utf8 encoding declaration in test files
2020-11-01 13:16:57 +01:00
Mateusz Stankiewicz
9e40f3ae83 PR ammends 2020-10-31 10:47:20 +01:00
Bastien Gérard
f4962fbc40 remove utf8 encoding declaration in test files as it's not needed/recommended 2020-10-30 21:10:21 +01:00
Mateusz Stankiewicz
c9d53ca5d5 Add EnumField 2020-10-30 13:06:37 +01:00
Bastien Gérard
65f50fd713
Merge pull request #2387 from bagerard/fix_change_fields_inconsistencies
fix inconsistencies in ._changed_fields computation
2020-10-29 21:15:31 +01:00
Felix Schultheiß
bf1d04e399 black reformatting 2020-10-29 14:56:08 +01:00
Felix Schultheiß
5a8e5e5a40 updated docstring 2020-10-27 16:34:57 +01:00
Felix Schultheiß
f3919dd839 stripped out integrating shard key from _save_update, use it also in _save_create 2020-10-27 12:55:35 +01:00
Bastien Gérard
9f82a02ddf
Merge pull request #2106 from bagerard/add_validation_to_doc
Add a documentation page for validation
2020-10-20 00:27:05 +02:00
Bastien Gérard
015a36c85f minor styling fix in .rst 2020-10-19 23:59:12 +02:00
Bastien Gérard
fbd3388a59 Merge branch 'master' of github.com:MongoEngine/mongoengine into add_validation_to_doc 2020-10-19 23:36:12 +02:00
Bastien Gérard
d8a52d68c5 improve doc in .readthedocs.yml 2020-10-19 23:34:24 +02:00
Bastien Gérard
4286708e2e fix mongoengine setup.py path in .readthedocs.yml 2020-10-18 22:47:00 +02:00
Bastien Gérard
e362d089e1 install mongoengine for readthedocs build to work 2020-10-18 22:44:06 +02:00
Bastien Gérard
6b657886a5 remove explicit install from .readthedocs.yml to rely on default instead 2020-10-18 22:21:45 +02:00
Bastien Gérard
eb16945147 fix requirements.txt location for readthedocs 2020-10-18 22:06:15 +02:00
Bastien Gérard
38047ca992
Merge pull request #2396 from bagerard/fix_readthedocs_failed_build
Fix readthedocs build that failed
2020-10-18 22:04:01 +02:00
Bastien Gérard
c801e79d4b Fix readthedocs build that failed by making it use python3 instead of default python2.7 2020-10-18 21:33:30 +02:00