Commit Graph
2458 Commits
Author SHA1 Message Date
mrigalandMatthieu Rigal 3421fffa9b reactivated unnecessarily skipped test 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal c25619fd63 improved deprecation documentation and added warning when using snapshot with PyMongo3 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal 76adb13a64 Minor text and comments enhancements 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal 33b1eed361 corrected logical test for not Pymongo3 versions 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal c44891a1a8 changed unittest to call for compatibility with Python 2.6 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal f31f52ff1c corrected test condition, depending on mongodb and not pymongo version 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal 6ad9a56bd9 corrected bad import preventing to run on PyMongo 2.X versions 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal a5c2fc4f9d reinforced test for BinaryField being a Primary Key 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal 0a65006bb4 replaced find_and_modify by PyMongo3 equivalents 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal 3db896c4e2 work-around for pymongo 3 bug 2015-05-07 12:47:30 +02:00
mrigalandMatthieu Rigal e80322021a corrected and enhanced geo_index test 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal 48316ba60d implemented global IS_PYMONGO_3 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal c0f1493473 fix revert situated at the wrong location 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal ccbd128fa2 first adaptations after comments and find-outs 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal 46817caa68 various unused imports removed (I am allergic) 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal 775c8624d4 change to try to address issues due to new save() behaviour, not satisfying, some tests are still failing 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal 36eedc987c adapted index test to new explain output in pymongo3 and added comment to a possible pymongo3 bug 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal 3b8f31c888 fix problems with cursor arguments 2015-05-07 12:47:29 +02:00
mrigalandMatthieu Rigal a34fa74eaa fix connection problems with pymongo3 and added tests 2015-05-07 12:47:29 +02:00
Matthieu Rigal d6b2d8dcb5 Merge pull request #982 from elephanter/operator_name_in_field_name
Added __ support to escape field name in fields lookup keywords that match operators names
2015-05-07 11:47:12 +02:00
Eremeev Danil aab0599280 test moved to another file, cosmetical fixes 2015-05-07 10:55:35 +05:00
Eremeev Danil dfa8eaf24e Added changeset, updated documentation and tests, changed test condition 2015-05-07 10:55:35 +05:00
Eremeev Danil 63d55cb797 solution for #949 2015-05-07 10:54:16 +05:00
Matthieu Rigal c642eee0d2 Merge pull request #992 from touilleMan/master
Add primary_key notice in defining-documents doc according to issue #985
2015-05-06 23:13:20 +02:00
Emmanuel Leblond 5f33d298d7 Fix typo in guide/defining-documents.rst 2015-05-06 21:32:36 +02:00
Emmanuel Leblond fc39fd7519 Update defining-documents.rst
Add primary_key notice according to issue #985
2015-05-06 18:30:49 +02:00
Matthew Ellison 7f442f7485 Merge pull request #978 2015-05-06 09:41:00 -04:00
rma4okandMatthew Ellison 0ee3203a5a [docs] Adding SortedListField fix to changelog 2015-05-06 09:40:36 -04:00
rma4okandMatthew Ellison 43a5df8780 [dist] Adding rma4ok to contributors 2015-05-06 09:40:09 -04:00
rma4okandMatthew Ellison 0949df014b [fix] SortedListField: update whole list if order is changed 2015-05-06 09:40:08 -04:00
Matthew Ellison 01f4dd8f97 Merge pull request #989 2015-05-06 09:38:26 -04:00
Matthew Ellison 8b7599f5d9 Merge pull request #900 2015-05-06 09:37:56 -04:00
Stefan Wojcik 9bdc320cf8 dont send a "cls" option to ensureIndex (related to https://jira.mongodb.org/browse/SERVER-769) 2015-05-06 11:25:45 +02:00
Matthew Ellison d9c8285806 Merge pull request #988 from olivierlefloch/master
Fix code formatting in upgrade doc
2015-05-05 09:08:43 -04:00
Gregor Kališnik 4b8344082f Testing if we can query embedded document's field inside MapField. Part of #912, which is fixed in 0.9. 2015-05-05 12:49:45 +02:00
Olivier Le Floch e5cf76b460 Match other code blocks
This fixes rendering on the documentation website:
http://docs.mongoengine.org/upgrade.html
2015-05-04 15:02:01 -07:00
David Bordeynik 422ca87a12 Merge pull request #979 from DavidBord/fix-453
fix-#453: Queryset update doesn't go through field validation
2015-05-02 20:26:56 +03:00
David Bordeynik a512ccca28 fix-#453: Queryset update doesn't go through field validation 2015-05-02 15:15:02 +03:00
Matthew Ellison ba215be97c Merge pull request #984 from asmacdo/asmacdo-patch-1
Update docs with NotUniqueError
2015-05-01 07:22:50 -04:00
Austin ca16050681 Update docs with NotUniqueError
This was changed in https://github.com/MongoEngine/mongoengine/pull/62. It is present in versions > 0.7 http://docs.mongoengine.org/changelog.html#changes-in-0-7-0. I can reopen against an older branch if preferred.
2015-04-30 16:02:50 -04:00
Matthew Ellison 06e4ed1bb4 Merge pull request #976 from seglberg/bugfix/#954-ref-field-subclass
Reflect Inheritance in Field's 'owner_document'
2015-04-30 09:22:15 -04:00
Matthieu Rigal d4a8ae5743 Merge pull request #932 from elephanter/nested_map_fields_delta_fix
fix wrong _delta results on nested MapFields #931
2015-04-30 10:55:12 +02:00
Eremeev Danil a4f2f811d3 removed forgotten print 2015-04-30 09:33:19 +05:00
Eremeev Danil ebaba95eb3 fixed same bug for nested List inside MapField, little code refactoring, added test for nested list and nested reference fields 2015-04-30 09:33:19 +05:00
Eremeev Danil 31f7769199 percent string formatting changed to format method 2015-04-30 09:33:19 +05:00
elephantandEremeev Danil 7726be94be fixed wrong _delta results on nested MapFields #931 2015-04-30 09:33:18 +05:00
Matthew Ellison f2cbcea6d7 Unit Tests for #954 Fail on Exception, not Error 2015-04-29 14:26:05 -04:00
Matthew Ellison 5d6a28954b Reflect Inheritance in Field's 'owner_document'
The 'owner_document' property of a Field now reflects the parent field
which first contained the Field when a Document in inherited.

Fixes #954
Closes #955
2015-04-29 14:23:57 -04:00
Sridhar SundarramanandMatthew Ellison 319f1deceb Unit Test to Demonstrate #954 2015-04-29 14:23:57 -04:00
Omer Katz 3f14958741 Merge pull request #957 from noirbizarre/metastrict
Allow to loads undeclared field with meta attribute (fix #934)
2015-04-29 19:32:26 +03:00