benoitlouy
0d2e84b16b
Fix for issue #237 : clearing changed fields recursively in EmbeddedDocuments after saving a Document
2013-02-28 00:37:34 -05:00
Loic Raucy
d0245bb5ba
Fixed #238 : dictfields handle numerical strings indexes.
2013-02-26 11:26:51 +01:00
hellysmile
2e18199eb2
Django sessions TTL support
2013-02-01 04:17:16 +02:00
Ross Lawley
025e17701b
Fixed inner queryset looping ( #204 )
2013-01-29 10:33:13 +00:00
Ross Lawley
156ca44a13
Doc fix thanks to @jabapyth ( #206 )
2013-01-28 16:49:34 +00:00
Ross Lawley
4177fc6df2
Can call del Doc.attr to delete field value
2013-01-28 15:57:33 +00:00
Ross Lawley
d90890c08e
Merge branch 'single-work-op' of https://github.com/njoyce/mongoengine into 211
...
Conflicts:
mongoengine/document.py
tests/test_document.py
2013-01-28 15:05:12 +00:00
Ross Lawley
8eda52e8e0
Merge branch 'master' of https://github.com/malderete/mongoengine into 214
...
Conflicts:
AUTHORS
mongoengine/base.py
tests/fields/fields.py
2013-01-28 14:27:17 +00:00
Ross Lawley
5b161b7445
ReadPreference that overrides slave_okay ( #218 )
2013-01-28 14:17:54 +00:00
Ross Lawley
8c1f8e54cd
Added the "get_decoded" method to the MongoSession class ( #216 )
2013-01-28 14:12:47 +00:00
Ross Lawley
03d3c26a99
Merge branch 'patch-1' of https://github.com/lcya86/mongoengine into 0.8
2013-01-28 14:09:51 +00:00
Ross Lawley
f182daa85e
Fixed Documents deleted via a queryset don't call any signals ( #105 )
2013-01-28 13:32:21 +00:00
Ross Lawley
9d9a4afee9
Added Doc class and pk to Validation messages ( #69 )
2013-01-28 12:05:09 +00:00
Ross Lawley
d7ee47ee25
Merge branch 'add_group_permission' of https://github.com/multmeio/mongoengine into 0.8
...
Conflicts:
mongoengine/django/auth.py
2013-01-25 12:11:22 +00:00
Ross Lawley
621b2b3f72
Undefined data should not override instance methods ( #49 )
2013-01-25 11:28:20 +00:00
Ross Lawley
9f551121fb
Added docs for no_dereference and scalar ( #68 )
2013-01-24 17:41:21 +00:00
Ross Lawley
ba48dfb4bf
Added no_dereference method for querysets ( #82 ) ( #61 )
2013-01-24 17:33:10 +00:00
Ross Lawley
e38bf63be0
Fixed overriding objects with custom manager ( #58 )
2013-01-24 11:29:51 +00:00
Ross Lawley
9797d7a7fb
Added switch_collection context manager and method ( #220 )
2013-01-23 21:19:21 +00:00
Ross Lawley
3a6dc77d36
Added no_dereference context manager ( #82 )
...
Reorganised the context_managers as well
2013-01-23 19:05:44 +00:00
Ross Lawley
4f70c27b56
Updated doc string
2013-01-23 16:19:07 +00:00
Ross Lawley
ea46edf50a
Added switch_db method to document instances ( #106 )
2013-01-23 16:07:07 +00:00
Ross Lawley
e5e88d792e
Added SwitchDB context manager ( #106 )
2013-01-23 12:54:14 +00:00
Ross Lawley
6d68ad735c
Fixed validation for GenericReferences
...
Where the references haven't been dereferenced
2013-01-22 17:56:15 +00:00
Ross Lawley
445f9453c4
Fixed reverse delete rule with inheritance ( #197 )
2013-01-22 16:38:07 +00:00
Ross Lawley
3364e040c8
Ensure $maxDistance is always the last part of the query ( #179 )
2013-01-22 16:05:44 +00:00
Ross Lawley
692f00864d
Fixed inheritance and unique index creation ( #140 )
2013-01-22 15:16:58 +00:00
Ross Lawley
344dc64df8
Updated authors and changelog #163
2013-01-22 14:05:06 +00:00
Ross Lawley
473425a36a
Merge branch 'getlasterror' of https://github.com/helduel/mongoengine into 163
2013-01-22 13:55:06 +00:00
Ross Lawley
2c7b12c022
Added support for $maxDistance ( #179 )
2013-01-22 13:31:53 +00:00
lcya86
17eeeb7536
Update mongoengine/django/sessions.py
...
added the "get_decoded" method to the MongoSession class
2013-01-17 15:31:27 +08:00
Martin Alderete
de5fbfde2c
Merge branch 'validation-message'
2013-01-15 02:45:47 -03:00
Martin Alderete
f5d02e1b10
Fixed issue with choices validation when they are simple list/tuple,
...
after model.validate() did not get any error message.
Added test to ensure that model.validate() set the correct error
messages.
2013-01-15 02:40:15 -03:00
Ross Lawley
87c965edd3
Fixing PY3.3 test cases
2013-01-10 11:08:07 +00:00
Ross Lawley
72dd9daa23
Fixing py3.3 tests
2013-01-09 16:16:48 +00:00
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
e6ac8cab53
Fixing python 2.5 support
2013-01-04 14:28:42 +00:00
Ross Lawley
9bbd8dbe62
Querysets now return clones and are no longer edit in place
...
Fixes #56
2013-01-04 09:41:08 +00:00
Ross Lawley
b9e0f52526
FileFields now copyable ( #198 )
2012-12-21 17:09:10 +00:00
Ross Lawley
1cdf71b647
Simplified Q objects
...
Removed QueryTreeTransformerVisitor (#98 ) (#171 )
2012-12-21 16:35:09 +00:00
Ross Lawley
bf74d7537c
Fix Django timezone support - update field for callable #151
2012-12-21 16:20:01 +00:00
Ross Lawley
b9c9d127a2
Merge branch 'fix_use_django_tz' of https://github.com/lexqt/mongoengine into 0.8
...
Conflicts:
mongoengine/django/sessions.py
Closes #151
2012-12-21 12:10:54 +00:00
Ross Lawley
c5b047d0cd
Fixed GridFSProxy __getattr__ behaviour ( #196 )
2012-12-21 11:55:05 +00:00
Ross Lawley
f335591045
Fix index build_spec #177
2012-12-19 16:55:14 +00:00
Ross Lawley
1c10f3020b
Added support for multiple slices
...
Also made slicing chainable. (#170 ) (#190 ) (#191 )
2012-12-19 14:56:15 +00:00
Ross Lawley
420c3e0073
Fixing for python2.5
...
closes #188
2012-12-19 12:51:42 +00:00
Ross Lawley
9cc02d4dbe
Dynamic fields are now validated on save
...
(MongoEngine/mongoengine#153 ) (MongoEngine/mongoengine#154 )
2012-12-19 12:32:06 +00:00
Ross Lawley
c528ac09d6
Fix merge for QNode checks
2012-12-19 12:29:46 +00:00
Ross Lawley
accdd82970
Merge branch 'feature-saferfilter' of https://github.com/elasticsales/mongoengine into 0.8
2012-12-19 11:47:46 +00:00
Ross Lawley
3e8f02c64b
Merge sequence field changes
2012-12-19 11:39:19 +00:00