Nick Joyce
7bb9c7d47f
Ensure that the update actions are grouped rather than serial.
...
This is a performance update. When multiple properties of the same
entity have been deleted and modified, 2 calls to update the entity are
made, one {"$set": … } and another {"$unset": … }. This is 2 network
interface calls which is a performance killer (even at lan speeds).
Fixes : #210
2013-01-07 15:03:29 +00:00
Ross Lawley
3b3738b36b
0.7.9
2012-12-10 15:16:31 +00:00
Ross Lawley
79098e997e
Updated test
2012-10-01 16:20:48 +00:00
Ross Lawley
dc1849bad5
Unicode fix for repr ( MongoEngine/mongoengine#133 )
2012-10-01 16:15:25 +00:00
Ross Lawley
5949970a95
Fixed index inheritance issues
...
firmed up testcases (MongoEngine/mongoengine#123 ) (MongoEngine/mongoengine#125 )
2012-09-11 15:14:37 +00:00
Ross Lawley
a2183e3dcc
Reverted EmbeddedDocuments meta handling.
...
You now can turn off inheritance (MongoEngine/mongoengine#119 )
2012-09-07 13:23:46 +01:00
Ross Lawley
a8e787c120
Update index spec generation so its not destructive ( MongoEngine/mongoengine#113 )
2012-09-04 14:39:19 +01:00
Ross Lawley
3534bf7d70
Fixed index spec inheritance ( MongoEngine/mongoengine#111 )
2012-09-04 08:20:19 +01:00
Ross Lawley
9b9696aefd
Updated index creation allows kwargs to be passed through refs ( MongoEngine/mongoengine#104 )
2012-09-03 12:29:58 +01:00
Ross Lawley
52f85aab18
Merge branch 'master' of https://github.com/dimonb/mongoengine
...
Conflicts:
mongoengine/base.py
2012-09-03 11:00:41 +01:00
Dmitry Balabanov
ab60fd0490
sharded collection document reload testcase
2012-08-30 14:37:11 +04:00
Ross Lawley
81d402dc17
Fixing tests
2012-08-24 13:58:38 +01:00
Ross Lawley
87792e1921
Test checking can save if not included
...
ref: MongoEngine/mongoengine#70
2012-08-24 11:45:04 +01:00
Ross Lawley
1c5e6a3425
NotUniqueError gracefully replacing ambiguous OperationError when appropriate
2012-08-24 10:38:10 +01:00
Ross Lawley
f594ece32a
Fixed MRO issue in base.py MongoEngine/mongoengine#95
2012-08-24 08:54:54 +01:00
Anthony Nemitz
ab9e9a3329
adding comment to the MRO test case
2012-08-23 18:09:51 -07:00
Anthony Nemitz
a4b09344af
test case for multiple inheritance raising MRO exception
2012-08-23 18:08:12 -07:00
Ross Lawley
4ffa8d0124
Updated ReferenceField's to optionally store ObjectId strings.
...
This will become the default in 0.8 (MongoEngine/mongoengine#89 )
2012-08-23 11:02:38 +01:00
Ross Lawley
658b3784ae
Split out warning tests as they are order dependent
2012-08-22 09:44:32 +01:00
Ross Lawley
0526f577ff
Embedded Documents still can inherit fields MongoEngine/mongoengine#84
2012-08-22 09:27:18 +01:00
Ross Lawley
b1eeb77ddc
Added FutureWarning - save will default to cascade=False
in 0.8
2012-08-21 17:45:51 +01:00
Ross Lawley
999d4a7676
Fixed broken test
2012-08-21 17:29:38 +01:00
Ross Lawley
1b80193aac
Added example of indexing embedded fields
...
MongoEngine/mongoengine#75
2012-08-20 17:50:18 +01:00
Ross Lawley
66279bd90f
Post refactor cleanups (ref: meta cleanups)
2012-08-17 11:58:57 +01:00
Ross Lawley
19da228855
Cleaned up the metaclasses for documents
...
Refactored and clarified intent and
tidied up
2012-08-17 11:53:46 +01:00
Ross Lawley
839ed8a64a
Added test for abstract shard key
2012-08-13 14:57:35 +01:00
Ross Lawley
dd4af2df81
Python 2.5 and 3.1 support confirmed
2012-08-07 13:07:51 +01:00
Ross Lawley
44bd8cb85b
Merge branch 'master' of https://github.com/LaineHerron/mongoengine into 0.7
2012-08-07 10:45:01 +01:00
Laine
0575abab23
mend
2012-08-03 15:09:50 -07:00
Laine
9eebcf7beb
Merge branch 'master' of https://github.com/LaineHerron/mongoengine
...
Conflicts:
tests/test_document.py
2012-08-03 15:08:21 -07:00
Laine
ed74477150
made compatable with python 2.5
2012-08-03 15:04:59 -07:00
Laine
dd023edc0f
made compatable with python 2.5
2012-08-02 15:30:21 -07:00
Ross Lawley
f45d4d781d
Updated test for py3.2
2012-08-02 09:26:33 +01:00
Ross Lawley
95dae48778
Fixing build
2012-08-02 09:20:41 +01:00
Laine
91aa90ad4a
Added Python 3 support to MongoEngine
2012-08-01 17:21:48 -07:00
Ross Lawley
3070e0bf5d
Fix for inheritance bug and db_alias
2012-07-20 10:34:08 +01:00
Ross Lawley
1b17fb0ae7
Updated validation error messages
...
refs hmarr/mongoengine#539
2012-07-19 15:04:12 +01:00
Ross Lawley
ae39ed94c9
Fixed cascade save edge case
...
refs MongoEngine/mongoengine#40
2012-07-19 11:52:26 +01:00
Ross Lawley
1e51180d42
Fixed geo index creation bug
...
fixes MongoEngine/mongoengine#36
2012-07-19 11:39:52 +01:00
Wilson Júnior
a7a2fe0216
added more tests
2012-07-18 06:37:23 -03:00
Ross Lawley
4f5aa8c43b
Fixed config / added test
2012-07-11 14:29:35 +01:00
Ross Lawley
5d8ffded40
Fixed issue with embedded_docs and db_fields
...
Bumped version also
refs: hmarr/mongoengine#523
2012-06-23 22:19:02 +01:00
Ross Lawley
e6317776c1
Fixes DBRef handling in _delta
...
refs: hmarr/mongoengine#518
2012-06-19 16:45:23 +01:00
Ross Lawley
581605e0e2
Added test case for _delta
...
refs: hmarr/mongoengine#518
2012-06-19 10:08:56 +01:00
Ross Lawley
9e7ea64bd2
Fixed db_field load error
...
Fixes mongoengine/MongoEngine#45
2012-06-18 20:49:33 +01:00
Ross Lawley
89a6eee6af
Fixes cascading saves with filefields
...
fixes #24 #25
2012-06-18 16:45:14 +01:00
Valentin Gorbunov
e4bc92235d
test_save_max_recursion_not_hit_with_file_field added
2012-06-06 15:48:16 +04:00
Ross Lawley
65a2f8a68b
Updated configs
2012-05-29 17:06:03 +01:00