Shaun Duncan
376d1c97ab
EmailField should honor StringField validation as well
2012-12-04 13:08:49 -05:00
Ross Lawley
5d8ffded40
Fixed issue with embedded_docs and db_fields
...
Bumped version also
refs: hmarr/mongoengine#523
2012-06-23 22:19:02 +01:00
Ross Lawley
056c604dc3
Fixes __repr__ modifying the cursor
...
Fixes MongoEngine/mongoengine#30
2012-06-22 16:22:27 +01:00
Ross Lawley
ea31846a19
Fixes scalar lookups for primary_key
...
fixes hmarr/mongoengine#519
2012-06-19 16:59:18 +01:00
Ross Lawley
e6317776c1
Fixes DBRef handling in _delta
...
refs: hmarr/mongoengine#518
2012-06-19 16:45:23 +01:00
Ross Lawley
9fecf2b303
Fixed inconsistency handling None values field attrs
...
fixes hmarr/mongoengine#505
2012-06-19 11:22:12 +01:00
Ross Lawley
3d0d2f48ad
Fixed map_field embedded db_field bug
...
fixes hmarr/mongoengine#512
2012-06-19 10:57:43 +01:00
Ross Lawley
581605e0e2
Added test case for _delta
...
refs: hmarr/mongoengine#518
2012-06-19 10:08:56 +01:00
Ross Lawley
766d54795f
Merge branch 'master' of https://github.com/MeirKriheli/mongoengine
...
Conflicts:
docs/changelog.rst
2012-06-18 21:10:14 +01:00
Ross Lawley
2435786713
Merge branch 'master' of https://github.com/shaunduncan/mongoengine
2012-06-18 20:55:32 +01:00
Ross Lawley
9e7ea64bd2
Fixed db_field load error
...
Fixes mongoengine/MongoEngine#45
2012-06-18 20:49:33 +01:00
Ross Lawley
89a6eee6af
Fixes cascading saves with filefields
...
fixes #24 #25
2012-06-18 16:45:14 +01:00
Shaun Duncan
2ec1476e50
Adding test case for self-referencing documents with cascade deletes
2012-06-16 11:05:23 -04:00
Meir Kriheli
77ebd87fed
Test PULL reverse_delete_rule
2012-06-07 12:02:19 +03:00
Valentin Gorbunov
e4bc92235d
test_save_max_recursion_not_hit_with_file_field added
2012-06-06 15:48:16 +04:00
Ross Lawley
65a2f8a68b
Updated configs
2012-05-29 17:06:03 +01:00
Ross Lawley
9c212306b8
Updated setup / added datetime test
2012-05-29 16:24:25 +01:00
Ross Lawley
bab186e195
Reverted document.delete auto gridfs delete
2012-05-14 12:02:07 +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
45e015d71d
Added test for keys with spaces
2012-05-09 20:49:34 +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
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
Anthony Nemitz
dd786d6fc4
fix for #494
2012-05-09 02:54:08 -07: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
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
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
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
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
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
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
0f420abc8e
Added test for listfields containing embedded documents
...
Added Adam to the authors - thanks for the patch
fixes #466
2012-03-22 15:44:22 +00: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
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
6ecdc7b59d
Added FutureWarning for inherited classes not declaring allow_inheritance
...
Refs #437
2012-03-05 11:25:13 +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
3c7bf50089
Make uri style connections use parameters not specified in the uri, as well as other keyword arguments
2012-03-02 15:33:38 +01:00