Ross Lawley
233b13d670
Version bump
2012-05-01 12:03:33 +01:00
Ross Lawley
5bcbb4fdaa
Properly fixed indexing on _id for covered indexes
...
refs #4
2012-05-01 12:02:45 +01:00
Ross Lawley
ca8b58d66d
Fixed indexing on _id for covered indexes
...
fixes #4
2012-05-01 11:27:37 +01:00
Ross Lawley
d7765511ee
Invalid DB Data now raises an InvalidDocumentError
...
fixes #2
2012-05-01 11:03:23 +01:00
Ross Lawley
0240a09056
Cleaned up ValidationError Refs #459
2012-05-01 10:14:16 +01:00
Ross Lawley
ab15c4eec9
Merge branch 'master' of https://github.com/adamreeve/mongoengine into 459
2012-05-01 09:42:25 +01:00
Ross Lawley
4ce1ba81a6
Merge branch 'dev-disable-indexing' of https://github.com/colinhowe/mongoengine
...
Conflicts:
mongoengine/queryset.py
2012-05-01 09:37:01 +01:00
Ross Lawley
530440b333
Fixed replicaset_connection test
2012-05-01 09:14:38 +01:00
Ross Lawley
b80fda36af
Ensure session save is safe
2012-04-27 14:57:07 +01:00
Ross Lawley
f7075766fc
Merge pull request #11 from gregbanks/insert_kwargs
...
add parameters to QuerySet.insert to allow control of lower level behavior
2012-04-27 02:34:03 -07:00
Ross Lawley
2b8aa6bafc
Fixes read_preference
...
Fixes mongoengine/mongoengine#10
2012-04-27 09:15:05 +01:00
Greg Banks
410443471c
TopLevelDocumentMetaClass sets _meta['index_opts'] not _meta['index_options']
2012-04-26 14:03:30 -07:00
Greg Banks
0bb9781b91
add "safe" and "write_options" parameters to QuerySet.insert similar to Document.save
2012-04-26 13:56:52 -07:00
Ross Lawley
120b9433c2
Merge branch 'master' of https://github.com/swashbuckler/mongoengine
2012-04-25 12:40:53 +01:00
Ross Lawley
a4a8c94374
Merge branch 'master' of https://github.com/gregbanks/mongoengine
2012-04-25 12:31:11 +01:00
Ross Lawley
aa2add39ad
Version bump
2012-04-25 12:24:08 +01:00
Ross Lawley
a928047147
Fixing sessions for django 1.3 and django 1.4
2012-04-24 21:00:30 +01:00
Jona Andersen
c474ca0f13
Allow File-like objects to be stored.
...
No longer demands FileField be an actual instance of file, but instead
checks whether object has a 'read' attribute. Fixes read() on
GridFSProxy to return an empty string on read failure, or None if file
does not exist.
2012-04-22 13:49:18 +02:00
Ross Lawley
88dc64653e
Fix Django 1.3 auth
2012-04-18 16:41:09 +01:00
Ross Lawley
5f4b70f3a9
Version bump
2012-04-18 10:30:14 +01:00
Ross Lawley
360624eb6e
Merge branch 'dev' of github.com:hmarr/mongoengine into dev
2012-04-18 10:28:06 +01:00
Ross Lawley
cbdf816232
Merge branch 'master' of github.com:hmarr/mongoengine
2012-04-18 10:23:02 +01:00
Ross Lawley
2d71eb8a18
Added support back for Django 1.3 as well as 1.4
2012-04-18 10:22:26 +01:00
Dan Crosta
0376910f33
refactor get_connection
...
In the previous version, the requested ReadPreference was ignored in the
case that the user specified a MongoDB URI. This rearranges the code to
ensure that only those values which we explicitly parse out of the URI
override values set as keyword arguments.
This leaves open the possibility of conflicts between the URI and the
kwargs -- we should consider whether to raise an exception if, e.g.,
username is specified as a kwarg *and* in the URI.
2012-04-17 19:50:22 -04:00
Wilson Júnior
bfae93e57e
small fixes for ReferenceField
2012-04-13 04:56:20 -03:00
Greg Banks
49a66ba81a
whoops, don't dereference all references as the first type encountered
2012-04-12 11:42:10 -07:00
Greg Banks
a1d43fecd9
fix for issue 473
2012-04-11 16:37:22 -07:00
Ross Lawley
2a34358abc
Updated connection refs #474
2012-03-27 01:47:17 +01:00
Ross Lawley
fd2bb8ea45
Merge pull request #474 from samuelclay/patch-1
...
The port is defaulted in to conn_settings, so discard the port since hos...
2012-03-26 17:17:26 -07:00
Samuel Clay
ad2e119282
The port is defaulted in to conn_settings, so discard the port since hosts_or_uri must be used.
2012-03-26 16:48:37 -07:00
mostlystatic
66d215c9c1
Fix for unknown connection alias error message.
2012-03-24 20:01:40 +00:00
Ross Lawley
bbdd15161a
0.6.3 release
2012-03-24 19:06:08 +00:00
Nils Hasenbanck
421f324f9e
Fixed the exception when saving a new session
...
The session was not created for some reason. Now it is.
Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>
2012-03-24 19:43:01 +01:00
Nils Hasenbanck
3af6d0dbfd
Replaces deprecated hasher with new django 1.4 hasher
...
This way we can even use the new hasher configuration
django 1.4 provides.
Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>
2012-03-24 11:08:00 +01:00
Nils Hasenbanck
e2bef076d3
Fixed the session backend for django 1.4
...
Signed-off-by: Nils Hasenbanck <nils@hasenbanck.de>
2012-03-24 11:07:37 +01:00
Ross Lawley
3b5b715567
Merge branch 'dev' of https://github.com/aparrish/mongoengine into 466
2012-03-22 15:32:45 +00:00
Adam Parrish
520051af25
preparing values in a ListField won't mangle embedded documents any more
2012-03-21 11:03:49 -07:00
Colin Howe
7e376b40bb
Add new meta option to Document: allow_index_creation.
...
Defaults to True. If set to False then MongoEngine will not ensure indexes exist
2012-03-19 20:27:08 +00:00
Ross Lawley
bd1572f11a
Fixed upgrade docs and instructions
2012-03-12 10:31:51 +00:00
Adam Reeve
540a0cc59c
List all document errors when raising a ValidationError
2012-03-09 22:20:59 +13:00
Adam Reeve
83eb4f6b16
Document the ValidationError class
2012-03-09 22:20:54 +13:00
Ross Lawley
65591c7727
Version Bump
2012-03-08 12:40:07 +00:00
Ross Lawley
737cbf5f60
Updated docs and added fix for _types and positional operator
...
Bumped version to 0.6.2
2012-03-08 12:39:25 +00:00
Ross Lawley
859e9b3cc4
Version bump
2012-03-05 16:16:37 +00:00
Ross Lawley
c34e79fad9
Fix replicaset connection
2012-03-05 16:15:06 +00:00
Ross Lawley
6ecdc7b59d
Added FutureWarning for inherited classes not declaring allow_inheritance
...
Refs #437
2012-03-05 11:25:13 +00:00
Ross Lawley
b7d0d8f0cc
Added warning to SortedListField
2012-03-05 11:20:22 +00:00
Ross Lawley
df52ed1162
Merge pull request #449 from kajic/uri-fix
...
Uri connection fix
2012-03-05 00:23:18 -08:00
Robert Kajic
c272b7901f
Fix for bug where changes to a a embedded document field are not recorded if the root document was just created+saved.
2012-03-02 15:35:15 +01:00
Robert Kajic
c61de6540a
Don't ignore kwargs for uri style connections
2012-03-02 15:33:54 +01:00