1548 Commits

Author SHA1 Message Date
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
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
Bastien Gérard
c218c8bb6c Merge branch 'master' of github.com:MongoEngine/mongoengine into add_validation_to_doc 2020-10-17 15:05:27 +02:00
Bastien Gérard
d4350e7da4 Fix for ListField that isnt detecting properly that item 0 is changed 2020-10-10 23:32:22 +02:00
Bastien Gérard
aabc18755c fix inconsistencies in ._changed_fields computation 2020-10-07 00:01:09 +02:00
Bastien Gérard
1f2a5db016 fix deprecated use of .update in test suite 2020-08-12 22:30:52 +02:00
Bastien Gérard
aca4de728e Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_count_documents_deprecation 2020-08-11 23:01:33 +02:00
Bastien Gérard
7116dec74a run black to please ci 2020-08-11 21:55:22 +02:00
Johnny Chang
3e1c83f8fa Fix query transformation regarding special operators 2020-08-04 00:30:15 +08:00
Bastien Gérard
194b0cac88 improve doc + changelog 2020-05-26 23:45:35 +02:00
Bastien Gérard
7b4175fc5c Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_limit0_bug 2020-05-26 23:44:05 +02:00
Bastien Gérard
adb5f74ddb Fix a bug in limit0 #2311 2020-05-26 23:37:55 +02:00
Bastien Gérard
49f9bca23b fix black formatting 2020-05-23 23:08:56 +02:00
Agustin Barto
1698f398eb Add _read_concern to copied properties. Add read_concern to aggregate. Add test to check the read_concern and read_preference values are kept after cloning. 2020-05-20 18:56:13 -03:00
Bastien Gérard
78c9e9745d fix linting + update changelog & contributors 2020-04-26 22:51:56 +02:00
Bastien Gérard
38ebb5abf4
Merge branch 'master' into feature/allow-setting-read-concern-queryset 2020-04-26 22:36:47 +02:00
Bastien Gérard
e8f6b42316 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-04-25 22:12:35 +02:00
Bastien Gérard
ef7da36ac6 Update pre-commit and fix existing flake8 warnings once for all 2020-04-25 21:36:07 +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
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
2b0157aecd Improve Queryset.get to avoid confusing message in case multiple match are found 2020-03-22 14:08:29 +01:00
Agustin Barto
bc77322c2f Update unit tests 2020-03-17 21:49:17 -03:00
Agustin Barto
4c62a060f0 Add tests for set_write_conern and set_read_write_concern 2020-03-17 19:37:21 -03:00
Bastien Gérard
ee2d50b2d1 remove drop_dups index option, deprecated with MongoDB3 2020-03-17 21:38:50 +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
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
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
beabaee345 Merge branch 'master' of github.com:MongoEngine/mongoengine into support-elemmatch-projection 2020-03-15 22:08:20 +01:00
Bastien Gérard
aa4a6ae023 Fix invalid escape seq in codebase 2020-03-15 21:02:44 +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
Bastien Gérard
ff4d57032a reformat w black 2020-03-03 23:51:11 +01:00
Bastien Gérard
ba34589065 Merge branch 'master' of github.com:MongoEngine/mongoengine into abarto-feature/allow-setting-read-concern-queryset 2020-03-03 23:50:36 +01:00
Filip Kucharczyk
d287f480e5 Fix for combining raw and regular filters 2020-03-03 15:18:58 +01:00
Bastien Gérard
cfb4943986 reformat with black 2020-03-02 22:49:21 +01:00
Agustin Barto
4bca3de42f Add support for the elemMatch projection operator. Add basic tests to the fields queryset method. 2020-02-14 16:43:07 -03:00
Agustin
8e17e42e26 Allow setting read_concern 2020-01-24 13:11:07 -03:00
Bastien Gérard
38703acc29 fix complex datetime field invalid string set 2020-01-23 23:33:23 +01:00
Bastien Gérard
d738462139 Fix bug introduced in -1.19 related to DictField validate failing without default connection 2020-01-11 23:17:05 +01:00
Bastien Gérard
e64a7a9448 reformat with latest black 2020-01-07 22:11:24 +01:00
Bastien Gérard
60c42dddd5 finalize code related to count_documents migration 2020-01-05 22:29:13 +01:00
Bastien Gérard
928770c43a switching to count_documents 2020-01-05 21:01:03 +01:00
Bastien Gérard
aa02f87b69 change & deprecate .aggregate api to mimic pymongo's interface + separate the aggregation tests from the large test_queryset.py file 2019-12-27 09:23:15 +01:00