64 Commits

Author SHA1 Message Date
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