1573 Commits

Author SHA1 Message Date
Ross Lawley
fff27f9b87 Added support for compound primary keys (#149) 2013-01-24 10:37:54 +00:00
Ross Lawley
d58f594c17 Updated changelog 2013-01-23 21:21:46 +00:00
Ross Lawley
9797d7a7fb Added switch_collection context manager and method (#220) 2013-01-23 21:19:21 +00:00
Ross Lawley
c8b65317ef Updated documentation instance tests 2013-01-23 20:15:05 +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
c44b98a7e1 Updated changelog 2013-01-22 17:54:35 +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
3ba58ebaae Added Nicolas Trippar to AUTHORS #179 2013-01-22 13:39:53 +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
e508625935 Update docs/upgrade.rst 2013-01-14 16:37:40 +00:00
Ross Lawley
0b177ec4c1 Merge branch 'master' into 0.8
Conflicts:
	mongoengine/queryset.py
	tests/queryset/queryset.py
	tests/test_document.py
2013-01-10 15:12:56 +00: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
Ross Lawley
a68529fba8 Merge branch 'master' into 0.8
Conflicts:
	tests/test_document.py
2013-01-09 13:36:17 +00:00
Ross Lawley
06681a453f python 3.3 test fixes 2013-01-09 13:15:21 +00:00
Ross Lawley
5907dde4a8 Merge branch 'master' into 0.8
Conflicts:
	.travis.yml
2013-01-09 08:52:24 +00:00
Ross Lawley
8e038dd563 Updated travis python-3.1 no longer supported 2013-01-09 08:51:45 +00:00
Ross Lawley
50905ab459 Test update 2013-01-09 08:41:03 +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
5c45eee817 Whitespace 2013-01-04 16:28:26 +00:00
Ross Lawley
0f9e4ef352 Add mongoengine.png asset in the build 2013-01-04 16:27:58 +00:00
Ross Lawley
85173d188b Add simplejson to python 2.5 build 2013-01-04 15:57:08 +00:00
Ross Lawley
d9ed33d1b1 Added python 3.3 support to travis 2013-01-04 14:33:08 +00:00
Ross Lawley
e6ac8cab53 Fixing python 2.5 support 2013-01-04 14:28:42 +00:00
Ross Lawley
f890ebd0f4 Merge branch 'master' into 0.8 2013-01-04 14:03:00 +00:00
Ross Lawley
e537369d98 Trying to get travis to build the 0.8 branch 2013-01-04 14:02:34 +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
09a5f5c8f3 Added note for django and sites config issues 2013-01-03 12:56:42 +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
3aff461039 Fix test discovery 2012-12-21 16:29:27 +00:00
Ross Lawley
bf74d7537c Fix Django timezone support - update field for callable #151 2012-12-21 16:20:01 +00:00
Ross Lawley
0c2fb6807e Added Aleksey Porfirov to AUTHORS #151 2012-12-21 12:14:32 +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
286beca6c5 Added Marcelo Anton to authors #152 2012-12-21 12:07:15 +00:00
Ross Lawley
3a1521a34e Merge branch 'master' of https://github.com/mbanton/mongoengine into 0.8 2012-12-21 12:06:37 +00:00
Ross Lawley
c5b047d0cd Fixed GridFSProxy __getattr__ behaviour (#196) 2012-12-21 11:55:05 +00:00
Ross Lawley
485b811bd0 Test case for embedded docs and 2d indexes #183 2012-12-19 17:05:27 +00:00
Ross Lawley
f335591045 Fix index build_spec #177 2012-12-19 16:55:14 +00:00