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
Bo.Yi
820b5cbb86
[fix]pass test case and fix field type error
2017-07-06 16:07:51 +08:00
Bo.Yi
e6a30f899c
[fix]validation list field with multi choice values
2017-07-06 14:57:03 +08:00
Benoit Larroque
0bc6507df3
Make queryset aggregates obey read_preference
2017-06-27 08:49:06 +02:00
Stefan Wojcik
a8d6e59a7a
minor tweaks to code quality in _fields_to_dbfields
2017-06-18 17:25:39 -07:00
Danil
1d4b1870cf
to_db_fields fix ( #1553 )
2017-06-18 17:04:46 -07:00
Erdenezul Batmunkh
6903eed4e7
support position in 'push' #1565
2017-06-15 06:08:40 +00:00
Erdenezul Batmunkh
b9e922c658
support multiple operator #1510
2017-06-12 04:50:13 +00:00
Freyr
54d8c64ad5
Fixes query operations on BinaryFields
...
Overrides prepare_query_value in BinaryField to wrap the query value in
bson.binary.Binary. This was already done in the to_mongo call when
saving a document, but query operations required the user to convert the
value manually.
Fixes https://github.com/MongoEngine/mongoengine/issues/1127
2017-05-25 10:46:16 -04:00
José Enrique Carrillo Pino
2f1fe5468e
Fix empty string casted to datetime today in DateTimeField ( #1533 )
2017-05-12 12:59:14 -04:00
lanf0n
24d15d4274
fix typo in the save() method's docstring ( #1551 )
2017-05-11 10:06:36 -04:00
Stefan Wojcik
e52603b4a7
ver bump to v0.14.0 + changelog/upgrade docs update
2017-05-08 00:12:26 -04:00
Stefan Wójcik
3b88712402
Cleaner as_pymongo ( #1549 )
2017-05-08 00:02:42 -04:00
Stefan Wojcik
009059def4
revert #1497
2017-05-07 21:29:13 -04:00
Stefan Wójcik
03ff61d113
better db_field validation ( #1547 )
2017-05-07 21:11:14 -04:00
Stefan Wojcik
2cf23e33e3
Document._get_update_doc helper method
2017-05-07 19:26:10 -04:00
Stefan Wójcik
de18e256ce
clean up the Document._get_collection code ( #1540 )
2017-04-30 14:35:33 -04:00
Stefan Wójcik
1a3c70ce1b
make EmbeddedDocument not hashable by default ( #1528 )
2017-04-30 13:30:21 -04:00
Artemiy
bd4a603e16
Use De Morgan's laws to simplify an expression. ( #1531 )
2017-04-20 10:27:37 -04:00
Stefan Wojcik
824ec42005
bump version to v0.13.0 and fill in the changelog and the upgrade docs
2017-04-16 14:08:46 -04:00
Stefan Wójcik
466935e9a3
Unicode support in EmailField ( #1527 )
2017-04-16 13:58:58 -04:00