1886 Commits

Author SHA1 Message Date
Damien Churchill
b85bb95082 Merge branch 'master' of github.com:cloudbuy/mongoengine 2014-03-12 15:11:53 +00:00
Damien Churchill
db7f93cff3 improved update queries for BaseDict & BaseList
Migrate changes to include updating single elements of ListFields as
well as MapFields by adding the same changes to BaseList. This is
done by ensuring all BaseDicts and BaseLists have the correct name
from the base of the nearest (Embedded)Document, then marking changes
with their key or index when they are changed.

Tests also all fixed up.
2014-03-12 15:07:40 +00:00
Damien Churchill
85e271098f Merge branch 'master' of https://github.com/MongoEngine/mongoengine 2014-03-12 12:44:04 +00:00
Damien Churchill
17001e2f74 Merge remote-tracking branch 'origin/master' 2014-03-11 13:00:08 +00:00
Ross Lawley
d4b3649640 Added coveralls.io badge
https://coveralls.io/r/MongoEngine/mongoengine
2014-01-28 09:25:59 +00:00
Ross Lawley
0da694b845 0.8.7 v0.8.7 2014-01-24 16:23:52 +00:00
Ross Lawley
6d5e7d9e81 Calling reload on deleted / nonexistant documents raises DoesNotExist (#538) 2014-01-24 14:10:55 +00:00
Ross Lawley
bc08bea284 Fix circular import issue with django auth (#531) (#545) 2014-01-24 13:54:16 +00:00
Ross Lawley
0e5a0661e1 Fixed possible issue not catching duplicate key errors 2014-01-24 13:50:09 +00:00
Ross Lawley
a839bd428f Merge branch 'master' of github.com:MongoEngine/mongoengine 2014-01-24 13:18:11 +00:00
Ross Lawley
0277062693 Stop ensure_indexes running on a secondaries (#555) 2014-01-24 13:17:52 +00:00
Ross Lawley
7affa5ab69 Merge pull request #554 from yprez/patch-1
geo_within docs - fix broken code samples
2014-01-24 05:05:34 -08:00
Ross Lawley
ed22af4e73 Merge pull request #553 from davidwilemski/patch-2
Fix typo in upgrade docs
2014-01-24 05:05:00 -08:00
Yuri Prezument
63ebb6998e geo_within docs - fix broken code samples
No such thing as "geo_with"
2014-01-22 22:47:48 +02:00
David Wilemski
7914cd47ca Fix typo in upgrade docs
Removed extra closing parenthesis
2014-01-17 20:36:02 -05:00
Ross Lawley
708dbac70e Depending on pymongo it might raise a TypeError or ValueError 2014-01-14 10:09:11 +00:00
Ross Lawley
1b62dd5c40 Fix duplicate error check 2014-01-14 10:01:39 +00:00
Ross Lawley
4911545843 Merge branch 'master' of github.com:MongoEngine/mongoengine 2014-01-13 16:59:20 +00:00
Ross Lawley
c5cc4b7867 Updated docs 2014-01-13 16:57:49 +00:00
Damien Churchill
eacb614750 Merge branch 'master' of https://github.com/MongoEngine/mongoengine 2014-01-10 11:03:48 +00:00
Ross Lawley
a02c820c2d Merge pull request #534 from matthewowen/master
Reject email addresses where hostname ends with '.'
2013-12-18 01:18:37 -08:00
Damien Churchill
2f6890c78a fix for nested MapFields
When using nested MapFields from a document loaded from the database, the
nested dictionaries aren't converted to BaseDict, so changes aren't
marked.

This also includes a change when marking a field as changed to ensure that
nested fields aren't included in a $set query if a parent is already marked
as changed. Not sure if this could occur but it prevents breakage if it does.
2013-12-16 13:44:07 +00:00
Ross Lawley
516591fe88 Docs update and canonical url fix 2013-12-13 09:46:45 +00:00
Ross Lawley
d2941a9110 Updated doc examples to open using read binary mode 2013-12-13 09:22:41 +00:00
Matthew Owen
f7302f710b Reject email addresses where hostname ends with '.' 2013-12-05 09:50:12 -08:00
Ross Lawley
6a02ac7e80 Fix django auth import (#531) v0.8.6 2013-12-04 13:32:56 +00:00
Ross Lawley
d1b86fdef5 Fix for import 2013-12-04 13:31:54 +00:00
Ross Lawley
57ac38ddca Version bump 0.8.5 v0.8.5 2013-12-04 10:02:05 +00:00
Ross Lawley
7a73a92074 Update changelog 2013-12-04 10:01:16 +00:00
Ross Lawley
d1b30f4792 Fix auth to use get_user_document #527 2013-12-04 10:00:12 +00:00
Ross Lawley
16dcf78cab Ensure id is Hashable 2013-12-02 14:14:46 +00:00
Ross Lawley
d868cfdeb0 Fix multi level nested fields getting marked as changed (#523) 2013-11-29 16:24:32 +00:00
Ross Lawley
c074f4d925 Django 1.6 login fix (#522) 2013-11-29 13:19:52 +00:00
Ross Lawley
453024c58d Django 1.6 session fix (#509) 2013-11-29 13:11:56 +00:00
Ross Lawley
fe8340617a Merge pull request #509 from j0hnsmith/bson_serializer
django 1.6 session problem
2013-11-29 05:10:02 -08:00
Ross Lawley
b024dd913d EmbeddedDocument._instance is now set when settng the attribute (#506) 2013-11-29 13:09:11 +00:00
Ross Lawley
a2a698ab0e Fixed EmbeddedDocument with ReferenceField equality issue (#502) 2013-11-29 12:46:18 +00:00
Ross Lawley
bb56f92213 Updated changelog and AUTHORS (#499) 2013-11-29 12:07:33 +00:00
Ross Lawley
8dcd998945 Merge pull request #499 from drudim/master
Error in GenericReferenceField serialization was fixed
2013-11-29 04:06:04 -08:00
Ross Lawley
bcbbbe4046 Added test, updated AUTHORS and changelog (#498) 2013-11-29 12:04:30 +00:00
Ross Lawley
7200a8cb84 Merge pull request #498 from woakas/patch-1
Fixed bug for count method when _none is True
2013-11-29 04:01:45 -08:00
Ross Lawley
6925344807 Test updates 2013-11-29 12:01:14 +00:00
Ross Lawley
60ceeb0ddd Update change log and Authors (#496) 2013-11-29 11:55:03 +00:00
Ross Lawley
06caabf333 Import fix 2013-11-29 11:53:24 +00:00
Ross Lawley
954131bd51 Merge remote-tracking branch 'origin/pr/496' 2013-11-29 11:49:54 +00:00
Ross Lawley
855efe7fe8 Added user_permissions to Django User object (#491, #492) 2013-11-29 11:48:14 +00:00
Ross Lawley
d902a74ab0 Merge remote-tracking branch 'origin/pr/492' 2013-11-29 11:45:06 +00:00
Ross Lawley
499e11f730 Updated AUTHORS (#488) 2013-11-29 11:42:30 +00:00
Ross Lawley
6db59a9c31 Fix setting Geo Location fields (#488) 2013-11-29 11:41:54 +00:00
Ross Lawley
6465726008 Fix handling invalid dict field value (#485) 2013-11-29 10:33:36 +00:00