Matthieu Rigal
f35d0b2b37
Added create_index method, warnings for drop_dups and a geohaystack test
2015-06-01 23:12:43 +02:00
Matthieu Rigal
283e92d55d
Added hashed index, a bit more of geo-indexes, possibility to give _cls and docs
2015-06-01 22:11:21 +02:00
Charanpal
2753e02cda
Fix for case where Document is deleted and it's files (FieldFields) in GridFS remain.
2015-05-23 14:46:56 +01:00
David Bordeynik
94eac1e79d
Merge pull request #946 from MRigal/fix/pymongo3-connection
...
fixes #946
2015-05-11 15:51:51 +03:00
Omer Katz
7d7d0ea001
Use not in instead of not (x in y).
2015-05-08 12:50:34 +03:00
Matthieu Rigal
794101691c
removed wire_concern usage and cosmetics
2015-05-07 19:34:31 +02:00
mrigal
c5ed308ea5
comments update after having tested PyMongo 3.0.1
2015-05-07 12:47:31 +02:00
mrigal
3ab5ba6149
added explicit warnings when calling methods having no effect anymore with PyMongo3+
2015-05-07 12:47:30 +02:00
mrigal
571a7dc42d
Fix last issue with binary field as primary key and skipped new test
2015-05-07 12:47:30 +02:00
mrigal
c25619fd63
improved deprecation documentation and added warning when using snapshot with PyMongo3
2015-05-07 12:47:30 +02:00
mrigal
76adb13a64
Minor text and comments enhancements
2015-05-07 12:47:30 +02:00
mrigal
33b1eed361
corrected logical test for not Pymongo3 versions
2015-05-07 12:47:30 +02:00
mrigal
6ad9a56bd9
corrected bad import preventing to run on PyMongo 2.X versions
2015-05-07 12:47:30 +02:00
mrigal
0a65006bb4
replaced find_and_modify by PyMongo3 equivalents
2015-05-07 12:47:30 +02:00
mrigal
3db896c4e2
work-around for pymongo 3 bug
2015-05-07 12:47:30 +02:00
mrigal
48316ba60d
implemented global IS_PYMONGO_3
2015-05-07 12:47:29 +02:00
mrigal
c0f1493473
fix revert situated at the wrong location
2015-05-07 12:47:29 +02:00
mrigal
ccbd128fa2
first adaptations after comments and find-outs
2015-05-07 12:47:29 +02:00
mrigal
46817caa68
various unused imports removed (I am allergic)
2015-05-07 12:47:29 +02:00
mrigal
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
mrigal
3b8f31c888
fix problems with cursor arguments
2015-05-07 12:47:29 +02:00
mrigal
a34fa74eaa
fix connection problems with pymongo3 and added tests
2015-05-07 12:47:29 +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
rma4ok
0949df014b
[fix] SortedListField: update whole list if order is changed
2015-05-06 09:40:08 -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
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
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
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
elephant
7726be94be
fixed wrong _delta results on nested MapFields #931
2015-04-30 09:33:18 +05: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
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
Matthew Ellison
dfc9dc713c
Merge pull request #973 from seglberg/feature/#958-django-split
...
Removed Django Support from MongoEngine
+1 @thedrow @MRigal @DavidBord @rozza
2015-04-28 10:37:22 -04:00
Omer Katz
3df436f0d8
Merge pull request #974 from eli-b/spelling
...
Spelling
2015-04-26 20:15:46 +03:00
Eli Boyarski
d737fca295
Spelling
2015-04-26 17:23:13 +03:00
Matthew Ellison
7530f03bf6
Removed Django Support from MongoEngine
...
Django support has now been split out of MongoEngine and will be
revisted as a new but separate module.
Closes #958
2015-04-24 13:50:26 -04:00
RussellLuo
24a9633edc
Override authentication_source
by "authSource" in URI
2015-04-20 16:05:34 +08:00
Jimmy Shen
2ffdbc7fc0
fixed microsecond-level ordering/filtering bug with ComplexDateTimeField as well as unused separator option
2015-04-19 03:26:14 -04:00
Axel Haustant
ddbcc8e84b
Ensure meta.strict does not bypass constructor check
2015-04-13 18:48:42 +02:00
Axel Haustant
2bfb195ad6
Document FieldDoesNotExist and meta.strict
2015-04-13 18:07:48 +02:00
Axel Haustant
cd2d9517a0
Added 'strict' meta parameter
2015-04-13 17:49:08 +02:00
Catstyle
175659628d
fix mark_as_changed: handle higher/lower level changed fields correctly to avoid conflict update error
2015-04-10 11:31:31 +08:00
Eremeev Danil
f77f45b70c
_get_changed_fields fix for embedded documents with id field.
...
removed commented out piece of code
added author and record to changelog
2015-04-09 12:36:48 +05:00
Michael Chase
a6a7cba121
Current class fields when unpickling. Fixes #888
...
Optimize dereferencing map by using sets.
2015-04-08 19:40:43 -07:00
mrigal
7a749b88c7
added new test like defined in issue #712 and changed ObjectIdField to_python() method to use a try except similar to other Field classes
2015-04-08 15:38:49 +02:00
David Bordeynik
bb77838b3e
fix-#914: ListField of embedded docs doesn't set the _instance attribute when iterating over it
2015-04-02 08:59:24 +03:00
David Bordeynik
de0e5583a5
Fix #595 : Support += and *= for ListField
2015-03-29 09:28:26 +03:00