Bastien Gérard
8ff82996fb
Fix few things related to query_counter context manager:
...
- Improve doc
- Fix the fact that the context was modifying the initial profiling_level in case it was != 0
- Ignores 'killcursors' to fix flaky test that were impacted by killcursors queries (#1869 )
2018-09-04 12:07:13 +02:00
Bastien Gérard
a3bcf26dce
Merge branch 'master' of https://github.com/MongoEngine/mongoengine into pmatos_patch-1
2018-09-02 15:27:37 +02:00
Bastien Gérard
a7852a89cc
Fixes 2 bugs in no_subclasses context mgr (__exit__ swallows exception + repair feature)
2018-09-01 23:30:50 +02:00
Bastien Gérard
5e4e8d4eda
Merge branch 'master' of github.com:KCarretto/mongoengine
2018-09-01 12:04:23 +02:00
Bastien Gérard
bd524d2e1e
Documented that it is possible to specify a name when using a dict to define an index
2018-09-01 00:12:49 +02: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
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
Bastien Gérard
a7658c7573
fix BaseList.__iter__ operator ( #1305 ) + minor improvements
2018-08-25 16:33:43 +02:00
Bastien Gérard
48a85ee6e0
update related tests
2018-08-20 00:10:27 +02:00
Bastien Gérard
1bcdcce93a
remove dead code
2018-08-18 00:03:17 +02:00
Bastien Gérard
364813dd73
Clarify that you should use python 2 when developing on mongoengine #1837
2018-08-13 22:34:37 +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
Bastien Gérard
df9ed835ca
fixes in unit tests
2016-07-02 23:01:36 +02:00