Nicolas Cortot
073091a06e
Do not fail on delete() when blinker is not available
2013-04-17 21:45:54 +02:00
Ross Lawley
420376d036
Merge fixes
2013-04-17 14:27:33 +00:00
Ross Lawley
51e50bf0a9
Merge branch 'master' into 0.8M
...
Conflicts:
AUTHORS
docs/django.rst
mongoengine/base.py
mongoengine/queryset.py
tests/fields/fields.py
tests/queryset/queryset.py
tests/test_dereference.py
tests/test_document.py
2013-04-17 11:57:53 +00: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
5b161b7445
ReadPreference that overrides slave_okay ( #218 )
2013-01-28 14:17:54 +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
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
3a6dc77d36
Added no_dereference context manager ( #82 )
...
Reorganised the context_managers as well
2013-01-23 19:05:44 +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
2c7b12c022
Added support for $maxDistance ( #179 )
2013-01-22 13:31:53 +00:00
Ross Lawley
72dd9daa23
Fixing py3.3 tests
2013-01-09 16:16:48 +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
1cdf71b647
Simplified Q objects
...
Removed QueryTreeTransformerVisitor (#98 ) (#171 )
2012-12-21 16:35:09 +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
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
3425264077
Merge branch 'master' into 0.8
...
Conflicts:
AUTHORS
docs/changelog.rst
mongoengine/__init__.py
mongoengine/base.py
mongoengine/fields.py
python-mongoengine.spec
tests/test_document.py
tests/test_fields.py
tests/test_queryset.py
2012-12-19 11:35:49 +00:00
Ross Lawley
027b3d36de
Fixed deprecation warning
2012-11-27 14:01:58 +00:00
Ross Lawley
28ef54986d
Deprecated get_or_create
( MongoEngine/mongoengine#35 )
2012-11-21 16:54:27 +00:00
Ross Lawley
f265915aa2
Updated inheritable objects created by upsert now contain _cls ( MongoEngine/mongoengine#118 )
2012-11-08 16:35:20 +00:00
Ross Lawley
b8d53a6f0d
Added json serialisation support
...
- Added to_json and from_json to Document (MongoEngine/mongoengine#1 )
- Added to_json and from_json to QuerySet (MongoEngine/mongoengine#131 )
2012-11-08 12:04:14 +00:00
Ross Lawley
4b45c0cd14
Removed deprecation warning #55
2012-11-07 15:15:04 +00:00
Ross Lawley
e7c0da38c2
Better implementation for none - MongoEngine/mongoengine#127
2012-11-07 15:09:11 +00:00
Ross Lawley
8706fbe461
Updated index creation now tied to Document class (( MongoEngine/mongoengine#102 )
2012-11-07 15:04:45 +00:00
Ross Lawley
9ca96e4e17
Added none() to queryset ( MongoEngine/mongoengine#127 )
2012-11-07 13:51:02 +00:00
Ross Lawley
7073b9d395
Added validation and tests
2012-11-06 18:55:14 +00:00
Samuel Clay
f2049e9c18
Adding QuerySet(read_preference=pymongo.ReadPreference.X) and QuerySet().read_preference() method to override connection-level read_preference on a per-query basis.
2012-11-06 18:55:13 +00:00
Ross Lawley
3d5b6ae332
Inheritance is off by default ( MongoEngine/mongoengine#122 )
2012-10-22 19:29:26 +00:00
Ross Lawley
6f29d12386
Changed the inheritance model to remove types
...
The inheritance model has changed, we no longer need to store an array of
`types` with the model we can just use the classname in `_cls`.
See the upgrade docs for information on how to upgrade
MongoEngine/mongoengine#148
2012-10-15 13:48:02 +00:00