Calgary Michael
4d5c6d11ab
removed deprecated warning for 'update' method
2018-02-02 22:04:30 -06:00
erdenezul
da7d64667e
Merge pull request #1571 from erdenezul/reverse_delete_rule_with_pull
...
add test case for reverse_delete_rule with pull #1519
2017-12-23 11:32:09 +08:00
Erdenezul
101947da8b
update fields argument when given #1172
2017-12-23 00:00:57 +08:00
erdenezul
18a5fba42b
Revert "add tests to increase code coverage"
2017-12-22 20:19:21 +08:00
erdenezul
b5a3b6f86a
Merge pull request #1645 from erdenezul/inc_cov
...
add tests to increase code coverage
2017-12-22 20:14:31 +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
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
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 Leblond
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
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
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
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
Danil
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
José Enrique Carrillo Pino
2f1fe5468e
Fix empty string casted to datetime today in DateTimeField ( #1533 )
2017-05-12 12:59:14 -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
e2a0b42d03
clarify test_get_changed_fields_query_count
2017-04-30 18:29:22 -04:00
Stefan Wójcik
1a3c70ce1b
make EmbeddedDocument not hashable by default ( #1528 )
2017-04-30 13:30:21 -04:00
Stefan Wójcik
466935e9a3
Unicode support in EmailField ( #1527 )
2017-04-16 13:58:58 -04:00
Omer Katz
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ójcik
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ójcik
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
Hiroyasu OHYAMA
e32a9777d7
added test for OrderedDynamicField and OrderedDocument
2017-02-28 03:35:53 +00:00
Ephraim Berkovitch
398964945a
Document.objects.create should raise NotUniqueError upon saving duplicate primary key ( #1485 )
2017-02-27 09:42:44 -05:00