Commit Graph
1301 Commits
Author SHA1 Message Date
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
Erdenezul 9ab856e186 use each modifier only with #1673 2017-10-10 10:34:34 +08:00
Erdenezul Batmunkh 5c4ce8754e run tests only pymongo3 #1565 2017-10-02 23:15:37 +08:00
Erdenezul Batmunkh 2f075be6f8 parse read_preference from conn_host #1665 2017-10-02 22:46:27 +08:00
Andy Yankovsky e90f6a2fa3 Fix update via pull__something__in=[] 2017-09-14 20:28:15 +03:00
Erdenezul Batmunkh be8f1b9fdd add failing test for generic_emdedded_document query #1651 2017-09-14 22:24:27 +09:00
Erdenezul Batmunkh ba99190f53 add tests to increase coverage 2017-09-10 13:09:20 +09:00
Erdenezul Batmunkh 70088704e2 add tests to increase code coverage 2017-09-10 01:37:17 +09:00
Emmanuel LeblondandGitHub 0325a62f18 Merge pull request #1626 from erdenezul/pointfield_aspymongo
added as_pymongo test for PointField #1311
2017-08-28 13:36:35 +02:00
Erdenezul 9b3fe09508 added as_pymongo test for PointField #1311 2017-08-25 11:15:03 +08:00
Emmanuel Leblond bce859569f Remove SemiStrictDict to improve perfs 2017-08-24 20:01:09 +02:00
Ali Turki ee5686e91a test case for #1602 2017-08-07 11:12:15 +01:00
Ali 2a795e9138 QuerySet limit function now returns all docs in cursor when 0 is passed 2017-08-04 11:31:29 +01:00
erdenezulandGitHub 9a6aa8f8c6 Merge branch 'master' into support_multiple_operator 2017-07-31 22:53:01 +08:00
Erdenezul Batmunkh f09256a24e Fix modify tests #1565 2017-07-31 18:49:52 +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
erdenezulandGitHub 7311895894 Merge branch 'master' into support_position_in_push 2017-07-13 20:08:57 +08: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
Erdenezul Batmunkh 71c3c632d7 add test case for reverse_delete_rule with pull #1519 2017-06-19 06:01:28 +00:00
Erdenezul Batmunkh 7782aa7379 do not test position push in mongodb_v2.4 #1565 2017-06-19 03:11:59 +00:00
Erdenezul Batmunkh f3ee4a5dac add tests for push operator #1565 2017-06-19 02:59:17 +00:00
DanilandStefan Wójcik 1d4b1870cf to_db_fields fix (#1553) 2017-06-18 17:04:46 -07:00
Erdenezul Batmunkh f63ad2dd69 dont test in mongoDB v2.4 #1565 2017-06-15 07:36:14 +00: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
José Enrique Carrillo PinoandStefan Wójcik 2f1fe5468e Fix empty string casted to datetime today in DateTimeField (#1533) 2017-05-12 12:59:14 -04:00
Stefan WójcikandGitHub 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ójcikandGitHub 03ff61d113 better db_field validation (#1547) 2017-05-07 21:11:14 -04:00
Stefan Wojcik e2a0b42d03 clarify test_get_changed_fields_query_count 2017-04-30 18:29:22 -04:00
Stefan WójcikandGitHub 1a3c70ce1b make EmbeddedDocument not hashable by default (#1528) 2017-04-30 13:30:21 -04:00
Stefan WójcikandGitHub 466935e9a3 Unicode support in EmailField (#1527) 2017-04-16 13:58:58 -04:00
Omer KatzandGitHub 972ac73dd9 Merge pull request #1497 from userlocalhost/feature/order_guarantee
added a feature to save object data in order
2017-04-07 10:49:39 +03:00
Richard Fortescue-Webb 5713de8966 Use the objectid in the test 2017-03-29 11:34:57 +01:00
Richard Fortescue-Webb 58f293fef3 Allow ReferenceFields to take ObjectIds 2017-03-29 10:34:50 +01:00
Hiroyasu OHYAMA ffbb2c9689 This is Additional tests for the container_class parameter of DynamicField
This tests DynamicField dereference with ordering guarantee.
2017-03-08 14:46:04 +00:00
Hiroyasu OHYAMA 9cd3dcdebf Added a test for the change of the condition in DeReference processing
This checks DBRef conversion using DynamicField with the ordering
guarantee.
2017-03-08 14:45:43 +00:00
Stefan Wojcik b78010aa94 remove test_last_field_name_like_operator (it's a dupe of the same test in tests/queryset/transform.py) 2017-03-05 21:24:46 -05:00
Stefan WójcikandGitHub f9ccf635ca Respect db fields in multiple layers of embedded docs (#1501) 2017-03-05 18:20:09 -05:00
Stefan Wojcik e8ea294964 test negative indexes (closes #1119) 2017-03-05 18:12:01 -05:00
Stefan Wojcik 30e8b8186f clean up document instance tests 2017-03-02 00:25:56 -05:00
Stefan WójcikandGitHub 741643af5f clean up field unit tests (#1498) 2017-03-02 00:05:10 -05:00
Hiroyasu OHYAMA 6aaf9ba470 removed a checking of dict order because this order is not cared (some implementation might be in ordered, but other one is not) 2017-03-01 09:32:28 +00:00
Hiroyasu OHYAMA 5957dc72eb To achive storing object data in order with minimum implementation, I
changed followings.

- added optional parameter `container_class` which enables to choose
  intermediate class at encoding Python data, instead of additional
  field class.
- removed OrderedDocument class because the equivalent feature could
  be implemented by the outside of Mongoengine.
2017-03-01 09:20:57 +00:00