erdenezul
ffdfe99d37
Merge pull request #1636 from erdenezul/fix_shard_key_modify
...
Fix Document.modify fail on sharded collection #1569
2018-02-06 07:25:42 +08:00
Ivan Pogrebkov
7efa67e7e6
reverse to 'style fix'
2018-02-05 12:35:06 +03:00
Ivan Pogrebkov
d69808c204
oh, ok...
2018-02-05 12:33:58 +03:00
Ivan Pogrebkov
de360c61dd
removed useless lines
2018-02-05 04:26:25 +03:00
Ivan Pogrebkov
6b04ddfad1
><
2018-02-05 04:24:03 +03:00
Ivan Pogrebkov
0d854ce906
style fix
2018-02-05 03:24:53 +03:00
Calgary Michael
6835c15d9b
fixing bug in previous commit
2018-02-02 22:41:07 -06:00
Calgary Michael
fa38bfd4e8
made set_write_concern python2.7 compatible
2018-02-02 22:30:06 -06:00
Calgary Michael
4d5c6d11ab
removed deprecated warning for 'update' method
2018-02-02 22:04:30 -06:00
Calgary Michael
9e80da705a
removed usage of 'pushAll' operator
2018-02-02 21:47:04 -06:00
Arto Jantunen
8f6c0796e3
Add db parameter to register_connection
...
This is done to make it compatible with the connect function.
2018-02-02 10:26:36 +02:00
Ivan Pogrebkov
7e8c62104a
null=True now usefull
2018-01-26 11:15:12 +03:00
Ivan Pogrebkov
fb213f6e74
Update document.py
2018-01-26 11:12:02 +03:00
Ivan Pogrebkov
22e75c1691
Insert null values fix
...
https://stackoverflow.com/questions/42601950/how-to-store-a-null-value-in-mongodb-via-mongoengine
2018-01-26 10:55:44 +03:00
Chuan-Heng Hsiao
919f221be9
defensive programming for v as an instance of DBRef when accessing v.collection in dereference
2018-01-11 07:58:24 -05:00
Erdenezul
101947da8b
update fields argument when given #1172
2017-12-23 00:00:57 +08:00
Erdenezul Batmunkh
b35efb9f72
fix validatione error for invalid embedded document instance #1067
2017-12-01 08:37:53 +08:00
Emmanuel Leblond
e74f659015
Improve LazyReferenceField and GenericLazyReferenceField with nested fields
2017-11-22 11:44:49 +01:00
Emmanuel Leblond
4d6256e1a1
Merge pull request #1675 from erdenezul/push_list_of_list
...
use each modifier only with $position #1673
2017-11-15 08:43:29 +01:00
Emmanuel Leblond
13180d92e3
Merge pull request #1652 from erdenezul/generic_embedded_query
...
Subfield resolve error in generic_emdedded_document query #1651
2017-11-13 15:29:26 +01:00
kcarretto
6b38ef3c9f
Fixed format string issue in mongoengine error message.
2017-11-11 03:36:28 -05:00
Emmanuel Leblond
ea25972257
Bump version to 0.15.0
2017-11-06 14:40:59 +01:00
Emmanuel Leblond
da33cb54fe
Correct style
2017-11-06 14:11:11 +01:00
Emmanuel Leblond
35d0458228
Add GenericLazyReferenceField
2017-11-06 12:29:19 +01:00
Emmanuel Leblond
e6c0280b40
Add LazyReferenceField
2017-10-31 18:58:42 +01:00
Mandeep Singh
15451ff42b
return instead of raising StopIteration
2017-10-17 00:11:47 +05:30
Erdenezul
9ab856e186
use each modifier only with #1673
2017-10-10 10:34:34 +08:00
Erdenezul
6e2db1ced6
read_preference from parse_uri only PYMONGO_3 #1665
2017-10-03 09:23:17 +08:00
Erdenezul Batmunkh
416486c370
use read_preference only pymongo3.x #1665
2017-10-02 23:13:25 +08:00
Erdenezul Batmunkh
2f075be6f8
parse read_preference from conn_host #1665
2017-10-02 22:46:27 +08:00
Stefan Wojcik
a1494c4c93
v0.14.3 version bump
2017-10-01 17:31:10 -04:00
Stefan Wojcik
01526a7b37
v0.14.1 version bump + updated changelog
2017-10-01 16:32:02 -04:00
Erdenezul
aa4996ef28
fix bug query subfield in generic_embedded_document #1651
2017-09-15 11:18:24 +08:00
Andy Yankovsky
e90f6a2fa3
Fix update via pull__something__in=[]
2017-09-14 20:28:15 +03:00
Emmanuel Leblond
5bdd35464b
Merge pull request #1632 from srinivasreddy/inequality
...
Add missing dunder method - __ne__ to the class GridFSProxy class
2017-08-31 10:15:44 +02:00
Erdenezul
1eae97731f
Fix Document.modify fail on sharded collection #1569
2017-08-30 12:04:04 +08:00
Emmanuel Leblond
3a5538813c
Merge pull request #1616 from srinivasreddy/clean_up
...
Add six.moves.range instead of xrange
2017-08-28 13:34:17 +02:00
Srinivas Reddy Thatiparthy
dc8a64fa7d
Add missing dunder method - __ne__ to the class GridFSProxy class
2017-08-25 22:02:47 +05:30
Srinivas Reddy Thatiparthy
7c0cfb1da2
Add six.moves.range instead of xrange
2017-08-25 00:04:04 +05:30
Emmanuel Leblond
bce859569f
Remove SemiStrictDict to improve perfs
2017-08-24 20:01:09 +02:00
Emmanuel Leblond
4f59c7f77f
Expose to user mongoengine.base.NON_FIELD_ERRORS
...
This variable is used to set the field containing the errors raised in a
clean function. Given those function are user-defined, users should be
able to get the name of the field to easily retreive their custom errors.
2017-08-24 19:47:40 +02:00
Ali
2a795e9138
QuerySet limit function now returns all docs in cursor when 0 is passed
2017-08-04 11:31:29 +01:00
erdenezul
9a6aa8f8c6
Merge branch 'master' into support_multiple_operator
2017-07-31 22:53:01 +08:00
Erdenezul Batmunkh
34fca9d6f5
Add clear comment and tests for positional push #1565
2017-07-31 18:32:34 +08:00
Erdenezul Batmunkh
433f10ef93
position support singular value #1565
2017-07-31 05:15:34 +00:00
Bo.Yi
9f02f71c52
[fix]fix some personal hobby
2017-07-16 18:47:20 +08:00
Erdenezul Batmunkh
3dcc9bc143
use explicit tests and fix unneccessary indent #1565
2017-07-13 22:59:21 +08:00
erdenezul
7311895894
Merge branch 'master' into support_position_in_push
2017-07-13 20:08:57 +08:00
Davidrjx
a7cab51369
Use a set literal in _clean_settings ( #1585 )
2017-07-13 12:07:36 +02:00
Alex Xu
437b11af9a
docs: use explicit register_delete_rule example
...
The previous example of creating bi-directional delete rules was vague since the example defined only one class and the relationship between "Foo" and "Bar" wasn't clear. I added a more explicit example where the relationship between the two classes is explicit.
2017-07-10 16:43:24 -04:00