Ross Lawley
28a957c684
Version bump
2012-05-14 12:43:00 +01:00
Ross Lawley
ec5ddbf391
Fixed sparse indexes with inheritance
...
fixes hmarr/mongoengine#497
2012-05-14 12:06:25 +01:00
Ross Lawley
bab186e195
Reverted document.delete auto gridfs delete
2012-05-14 12:02:07 +01:00
Ross Lawley
bc7e874476
Version 0.6.8
2012-05-09 20:53:18 +01:00
Ross Lawley
97114b5948
Fix for FileField losing ref without default
...
fixes hmarr/mongoengine#458
2012-05-09 20:50:11 +01:00
Ross Lawley
ba298c3cfc
Save can be used in assignment
2012-05-09 15:37:07 +01:00
Ross Lawley
0479bea40b
Cleaned up GridFS
...
refs hmarr/mongoengine#465
2012-05-09 15:35:28 +01:00
Ross Lawley
a536097804
Added support for pull operations on nested EmbeddedDocs
...
fixes mongoengine/mongoengine#16
2012-05-09 14:38:53 +01:00
Ross Lawley
bbefd0fdf9
Added example of bi directional delete rules + test
...
refs mongoengine/mongoengine#15
2012-05-09 13:54:33 +01:00
Ross Lawley
2aa8b04c21
Implemented Choices for GenericReferenceFields
...
Refs mongoengine/mongoengine#13
2012-05-09 13:21:53 +01:00
Ross Lawley
aeebdfec51
Implemented Choices for GenericEmbeddedDocuments
...
Refs mongoengine/mongoengine#13
2012-05-09 12:58:45 +01:00
Ross Lawley
5c4b33e8e6
Made note stronger re: race condition
...
Refs #478
2012-05-09 12:13:42 +01:00
Ross Lawley
eb54037b66
Added note that get_or_create contains a race condition
...
Refs #478
2012-05-09 12:08:00 +01:00
Ross Lawley
f48af8db3b
Django 1.4 first session save lost data
...
fixes #477
2012-05-09 12:00:05 +01:00
Ross Lawley
95e7397803
Merge branch 'master' of https://github.com/deignacio/mongoengine
2012-05-09 11:32:26 +01:00
Ross Lawley
43a989978a
Merge branch 'patch-8' of https://github.com/wpjunior/mongoengine
2012-05-09 11:21:54 +01:00
Anthony Nemitz
dd786d6fc4
fix for #494
2012-05-09 02:54:08 -07:00
Ross Lawley
20e41b3523
Make the user model extendable
2012-05-08 18:23:51 +01:00
David Ignacio
e07ecc5cf8
Cleanup referenced GridFS files when a document is deleted
...
Note that drop_collection is not modified since there is no
guarantee that a GridFS collection holds files for only one
Document class. Otherwise you could drop files for other fields
or documents accidentally.
2012-05-05 01:33:08 -04:00
Wilson Júnior
3360b72531
Small fixes for GenericReferenceField
2012-05-04 14:58:06 -03:00
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