erdenezul
b90063b170
Merge pull request #1861 from bagerard/minor_improvement_to_DateTimeField_default
...
minor improvement to DateTimeField doc
2018-08-31 11:32:40 +08:00
Bastien Gérard
d9fce49b08
minor improvement to DateTimeField doc
2018-08-30 22:46:37 +02:00
Bastien Gérard
5dbee2a270
Ensures EmbeddedDocumentField does not accepts references to Document classes in its constructor
2018-08-30 22:06:36 +02:00
Bastien Gérard
4779106139
Improve doc of EmbeddedDocumentList.filter and clarify that it does not supports operators like __lte, __gte, etc
2018-08-30 21:50:03 +02:00
erdenezul
bf2de81873
Merge pull request #1807 from bagerard/lazy_regex_compilation
...
Implemented lazy regex compiling for issue #1806
2018-08-30 21:33:10 +08:00
erdenezul
28cdedc9aa
Merge pull request #1857 from bagerard/fix_doc_of_delete_write_concern
...
Fix .delete doc of **write_concern
2018-08-30 21:28:59 +08:00
erdenezul
7e90571404
Merge pull request #1858 from bagerard/fix_index_creation_error_swallowed
...
Fix index creation error that was swallowed by hasattr under python2
2018-08-30 21:28:38 +08:00
Bastien Gérard
b4860de34d
Fix index creation error that was swallowed by hasattr under python2 ( #1688 )
2018-08-30 10:39:07 +02:00
Bastien Gérard
576f23d5fb
Fix .delete doc of **write_concern as suggested by #1779
2018-08-28 22:58:13 +02:00
Bastien Gérard
86548fc7bf
Document the attribute of .from_json
2018-08-28 22:42:51 +02:00
erdenezul
9ad959a478
Merge pull request #1845 from bagerard/clean_dead_code
...
remove dead code
2018-08-26 08:33:20 +08:00
erdenezul
cc00a321da
Merge pull request #1848 from bagerard/patch-4
...
Update gridfs.rst - make it clear that user must call Document.save()
2018-08-26 08:28:42 +08:00
Bastien Gérard
a7658c7573
fix BaseList.__iter__ operator ( #1305 ) + minor improvements
2018-08-25 16:33:43 +02:00
Bastien Gérard
461b789515
relates to ( #710 )
...
- Update gridfs.rst to make it clearer that you should save the Document hosting the GridFSProxy after calling .delete() or .replace() on the GridFSProxy
- updated GridFSProxy.__str__ so that it would always print both the filename and the grid_id. This should improve debugging
2018-08-19 23:45:08 +02:00
Bastien Gérard
1bcdcce93a
remove dead code
2018-08-18 00:03:17 +02:00
Bastien Gérard
727866f090
fix styling flake8 error from CI
2018-08-05 22:30:51 +02:00
Bastien Gérard
3d45cdc339
Implemented lazy regex compiling in Field classes to improve 'import mongoengine' performance
2018-08-03 23:36:26 +02:00
Gram
19a6e324c4
+tests for date field
2018-07-20 17:37:23 +03:00
Gram
62eadbc174
+date field
2018-07-20 17:21:57 +03:00
Erdenezul Batmunkh
fdba648afb
fix pypi trigger
2018-07-16 09:19:50 +08:00
Tony Narlock
d0741946c7
Fix a typo ( #1813 )
...
an -> a
2018-06-28 17:19:48 +02:00
Tal Yalon
080226dd72
Fix issue #1286 and #844.: when building a query set from filters that reference the same field several times, do not assume each value is a dict
2018-06-22 14:16:17 +03:00
erdenezul
3cb6a5cfac
Merge pull request #1575 from zetaben/master
...
Make queryset aggregates obey read_preference
2018-05-24 22:23:49 +08:00
Erdenezul Batmunkh
8739ab9c66
fix syntax #1338
2018-05-23 15:59:18 +08:00
Erdenezul Batmunkh
446c101018
dont call ensure_indexes on slave #1338
2018-05-23 15:53:30 +08:00
erdenezul
7fb1c9dd35
Merge branch 'master' into master
2018-05-21 16:22:07 +08:00
erdenezul
0fffaccdf4
Merge pull request #1640 from erdenezul/fix_changed_field_reload
...
add fix for reload(fields) affect changed fields #1371
2018-05-21 16:16:37 +08:00
Erdenezul
d424583cbf
fix flake8 error #1371
2018-05-21 16:06:04 +08:00
Erdenezul
290b821a3a
add fix for reload(fields) affect changed fields #1371
2018-05-21 16:06:04 +08:00
erdenezul
a0dfa8d421
Merge pull request #1723 from chhsiao1981/dereference-add-check-dbref-type
...
defensive programming for v as an instance of DBRef in dereference.
2018-05-21 13:00:46 +08:00
Erdenezul Batmunkh
088fd6334b
bulkwriteerror does not trigger
2018-05-20 18:06:59 +08:00
Erdenezul Batmunkh
94cda90a6e
fix syntax
2018-05-20 17:56:19 +08:00
Erdenezul Batmunkh
78601d90c9
fix typo
2018-05-20 17:54:13 +08:00
Erdenezul Batmunkh
fa4ac95ecc
catch bulkwriteerror
2018-05-20 17:49:49 +08:00
Erdenezul Batmunkh
dd4d4e23ad
call insert method with set_write_concern
2018-05-20 15:51:02 +08:00
Erdenezul Batmunkh
acba86993d
set_write_concern pymongo3
2018-05-20 15:43:19 +08:00
Erdenezul Batmunkh
0fc55451c2
fix style and ids need to be an array
2018-05-20 15:40:26 +08:00
Erdenezul Batmunkh
5c0bd8a810
fix inserted_ids
2018-05-20 15:40:26 +08:00
Erdenezul Batmunkh
1aebc95145
use insert_one, insert_many and remove deprecated one #1491
2018-05-20 15:40:26 +08:00
Erdenezul Batmunkh
1d3f20b666
fix style and ids need to be an array
2018-05-20 14:41:25 +08:00
Erdenezul Batmunkh
eb2e106871
Merge branch 'insert_pymongo3' of github.com:erdenezul/mongoengine into insert_pymongo3
2018-05-20 14:33:35 +08:00
Erdenezul Batmunkh
f9a887c8c6
fix inserted_ids
2018-05-20 14:33:12 +08:00
erdenezul
67ab810cb2
Merge branch 'master' into insert_pymongo3
2018-05-20 14:06:16 +08:00
Erdenezul Batmunkh
3e0d84383e
use insert_one, insert_many and remove deprecated one #1491
2018-05-20 13:41:20 +08:00
Erdenezul Batmunkh
c83c635067
fix import order
2018-05-20 13:04:51 +08:00
Erdenezul Batmunkh
f605eb14e8
fix style
2018-05-20 12:54:24 +08:00
Erdenezul Batmunkh
0da8fb379d
Merge remote-tracking branch 'calgary/issue-1491' into update_pymongo3
2018-05-20 12:38:22 +08:00
Erdenezul Batmunkh
257a43298b
use MongoClient.is_mongos in ensure indexes #1759
2018-05-20 12:31:27 +08:00
erdenezul
a2d3bcd571
Merge pull request #1562 from erdenezul/support_multiple_operator
...
support multiple operator #1510
2018-05-20 12:20:04 +08:00
erdenezul
d4142c2cdd
Merge pull request #1790 from erdenezul/compare_index_correct_behavior_text
...
Compare_indexes correct behavior for text index
2018-05-20 11:46:35 +08:00