3902 Commits

Author SHA1 Message Date
Bastien Gérard
a9550b8243
Merge pull request #2232 from bagerard/bump_development_status_classifier
Bump development status classifier
2020-04-25 14:17:46 +02:00
Bastien Gérard
43724e40b2 improve doc related to dropping Py2 support 2020-04-25 14:16:56 +02:00
Bastien Gérard
1bfa40e926 Merge branch 'master' of github.com:MongoEngine/mongoengine into bump_development_status_classifier 2020-04-25 14:07:43 +02:00
Bastien Gérard
d493f71c4e Merge branch 'drop_py2_support' of github.com:bagerard/mongoengine into drop_py2_support 2020-04-25 14:05:30 +02:00
Bastien Gérard
87f4d1a323 Merge branch 'master' of github.com:MongoEngine/mongoengine into drop_py2_support 2020-04-25 13:51:21 +02:00
Bastien Gérard
0a0e6114f5
Merge branch 'master' into drop_py2_support 2020-04-19 23:13:36 +02:00
Bastien Gérard
41d36fa3bf
Merge pull request #2304 from bagerard/fix_py2_configparser
fix subdependencies that dropped Py2 support
2020-04-09 09:20:39 +02:00
Bastien Gérard
707923e3f5 fix subdependencies that dropped Py2 support 2020-04-08 21:54:26 +02:00
Bastien Gérard
d9b9581df2 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-04-08 21:33:58 +02:00
Bastien Gérard
463e7c66af
Merge pull request #2287 from bagerard/fix_queryset_get_error_message_multiple_match
Improve MultipleObjectsReturned message from queryset.get
2020-04-08 21:28:56 +02:00
Filip Kucharczyk
2be28a22a7
Merge branch 'master' into fix/add-dev-tools 2020-03-27 15:15:14 +01:00
Kes
d73f0bb1af
fix typo 2020-03-26 17:25:25 +01:00
Kes
ce74978b1e
Correct and improve docstring on EmbeddedDocumentList.create() 2020-03-26 17:23:16 +01:00
Bastien Gérard
2b0157aecd Improve Queryset.get to avoid confusing message in case multiple match are found 2020-03-22 14:08:29 +01:00
Bastien Gérard
f49baf5d90
Merge pull request #2285 from bagerard/remove_drop_dups
Remove drop_dups that was deprecated with Mongo3
2020-03-18 21:02:03 +01:00
Agustin Barto
7cc964c7d8 Add missing import 2020-03-17 21:58:36 -03:00
Agustin Barto
bc77322c2f Update unit tests 2020-03-17 21:49:17 -03:00
Agustin Barto
8913a74a86 Allow setting the read concern to None 2020-03-17 21:31:05 -03:00
Agustin Barto
af35b25d15 Refactor read_preference to accept a dictionary instead of a ReadPreference instance. 2020-03-17 21:28:08 -03:00
Bastien Gérard
476b07af6e reformat changelog 2020-03-17 23:59:54 +01:00
Bastien Gérard
e2b9a02531 Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_drop_dups 2020-03-17 23:58:44 +01:00
Bastien Gérard
6cc6229066
Merge pull request #2245 from bagerard/remove_old_deprecated_method
[>= 0.19.0] Remove old deprecated method
2020-03-17 23:51:42 +01:00
Agustin Barto
4c62a060f0 Add tests for set_write_conern and set_read_write_concern 2020-03-17 19:37:21 -03:00
Agustin Barto
3d80637fa4 Refactor set_read_write_concern so read_conern is consistent with the write_concerns argument. 2020-03-17 19:08:43 -03:00
Bastien Gérard
68be9fe979
Merge pull request #2284 from bagerard/remove_field_name_attribute_deprecated
Remove name param in Field constructor (replaced by db_field)
2020-03-17 21:46:38 +01:00
Bastien Gérard
547cd4a3ae Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_old_deprecated_method 2020-03-17 21:39:36 +01:00
Bastien Gérard
ee2d50b2d1 remove drop_dups index option, deprecated with MongoDB3 2020-03-17 21:38:50 +01:00
Bastien Gérard
15c3ddece8 Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_field_name_attribute_deprecated 2020-03-17 21:29:47 +01:00
Bastien Gérard
beaa9744b7
Merge pull request #2283 from bagerard/remove_slave_okay_deprecated
remove qs.slave_okay() that is deprecated since pymongo3
2020-03-17 21:27:50 +01:00
Bastien Gérard
8eb51790b5 Remove Field(name='...') which was deprecated when db_field was introduced a while ago 2020-03-17 21:26:41 +01:00
Bastien Gérard
aadc6262ed remove qs.slave_okay() that is deprecated since pymongo3 2020-03-17 21:10:52 +01:00
Bastien Gérard
00ae6298d4
Merge pull request #2242 from bagerard/fix_dictfield_validation
Fix bug introduced in 0.19 related to DictField validation
2020-03-17 20:26:54 +01:00
Bastien Gérard
ad0669a326 update changelog 2020-03-17 10:15:47 +01:00
Bastien Gérard
85df76c623 Merge branch 'master' of github.com:MongoEngine/mongoengine into drop_py2_support 2020-03-17 09:24:32 +01:00
Bastien Gérard
87512246cb Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_dictfield_validation 2020-03-16 22:30:48 +01:00
Bastien Gérard
a3f9016ae9 reformat import for flake8 2020-03-15 22:27:19 +01:00
Bastien Gérard
4e58e9f8d1 Merge branch 'master' of github.com:MongoEngine/mongoengine into feature/allow-setting-read-concern-queryset 2020-03-15 22:25:59 +01:00
Bastien Gérard
7c533394fd
Merge pull request #2267 from abarto/support-elemmatch-projection
Add support for the elemMatch projection operator
2020-03-15 22:25:08 +01:00
Bastien Gérard
333e014f13 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-03-15 22:20:46 +01:00
Bastien Gérard
c0c0efce18 improve docstring related to #2267 and document the change in the changelog 2020-03-15 22:14:26 +01:00
Bastien Gérard
beabaee345 Merge branch 'master' of github.com:MongoEngine/mongoengine into support-elemmatch-projection 2020-03-15 22:08:20 +01:00
Bastien Gérard
c937af3919
Merge pull request #2281 from bagerard/fix_py38_deprecation_warn
Fix invalid escape seq in codebase
2020-03-15 21:16:54 +01:00
Bastien Gérard
aa4a6ae023 Fix invalid escape seq in codebase 2020-03-15 21:02:44 +01:00
Bastien Gérard
b57946ec98 remove virtualenv installation in travis 2020-03-14 21:39:47 +01:00
Bastien Gérard
1e110a2c41 run pyupgrade --py3-plus 2020-03-11 23:34:43 +01:00
Bastien Gérard
b234aa48e4 run pyupgrade 2020-03-11 23:21:38 +01:00
Bastien Gérard
8086576677 get rid of six 2020-03-11 23:07:03 +01:00
Bastien Gérard
03e34299f0 clean code related to Py2 + six.text_type & six.string_types 2020-03-11 21:50:50 +01:00
Bastien Gérard
421e3f324f Drop python2 support 2020-03-09 00:18:52 +01:00
Bastien Gérard
a0b803959c Merge branch 'master' of github.com:MongoEngine/mongoengine into py2py3_improve_compat 2020-03-08 14:44:39 +01:00