53c0cdc0c1
Added recursive and undefined document ref docs
Harry Marr
2010-02-28 23:29:42 +00:00
58f877de1a
Added recursive / document name references
Harry Marr
2010-02-28 23:16:51 +00:00
95a7b33fb4
Changed how GenericReferenceFields are stored / queried
Harry Marr
2010-02-28 23:15:21 +00:00
81dd5adccf
GenericReferenceField docs
Harry Marr
2010-02-28 21:30:54 +00:00
94e86a0be1
Merge branch 'gfk' of git://github.com/blackbrrr/mongoengine
Harry Marr
2010-02-28 21:08:32 +00:00
5b2dbfe007
Added tests for URLField and DecimalField
Harry Marr
2010-02-28 18:25:40 +00:00
4451843a39
Added docs for QuerySet.only
Harry Marr
2010-02-28 17:52:29 +00:00
5e2c5fa97b
Merge branch 'regex-query-shortcuts'
Harry Marr
2010-02-28 17:38:03 +00:00
018b206177
added support for GenericReferenceField to ListField. could be cleaner, perhaps.
blackbrrr
2010-02-26 17:38:38 -06:00
03d31b1890
added global model registry and GenericReferenceField, a ReferenceField not bound to a particular model
blackbrrr
2010-02-26 16:59:12 -06:00
265776566e
QuerySet.only field name translation and polymorphism fix
Harry Marr
2010-02-26 19:43:26 +00:00
a4c5fa57e0
updated notes in map_reduce_advanced queryset test
blackbrrr
2010-02-12 15:53:28 -06:00
9be6c41af7
map/reduce result objects now only have 'key', 'value', and 'object' properties; MapReduceDocument.key_object now returns proper Document subclass; added finalize with Reddit ranking simulation; MapReduceDocuments now yielded;
blackbrrr
2010-02-12 14:39:08 -06:00
5c311eefb1
fixed merge conflict in queryset test
blackbrrr
2010-02-12 09:59:09 -06:00
d0ceb74a2e
removed unused fields and tests
blackbrrr
2010-02-12 09:57:09 -06:00
ea1fe6a538
Fixed set/unset issue with ListFields
Harry Marr
2010-02-12 11:21:51 +00:00
b2588d1c4f
Changed neq to ne, fixed Q object in and nin
Harry Marr
2010-02-10 12:35:41 +00:00
69d3e0c4b6
added map/reduce support via QuerySet.map_reduce. map_reduce operations respect query specs and ordering, but ordering is currently only applied to map/reduce collection. map/reduce may eventually require its own QuerySet to avoid slicing conflicts. results are returned as lists of MapReduceDocument objects, dynamic objects representing the query. tests and documentation included. considered in the neighborhood of 'good start'.
blackbrrr
2010-02-09 14:56:15 -06:00
755deb3ffe
Added DictField
Harry Marr
2010-02-03 01:22:25 +00:00
59f8c9f38e
make mongoengine more international :) using unicode-strings; str(err) raises errors if it contains non-ascii chars/umlauts
Florian Schlachter
2010-02-02 21:48:47 +01:00
0bbf3a3d76
Fixed EmbeddedDocument validation bug
Harry Marr
2010-02-02 17:37:09 +00:00
10de19d38b
be kind and also accept an integer for a float field (so e.g. mymodel.floatfield = 9 is possible, instead of mymodel.floatfield = 9.0)
Florian Schlachter
2010-01-31 18:06:25 +01:00
73aff806f3
reset to master, keep working on the dirty-fields-patch in another branch
Florian Schlachter
2010-01-31 18:00:01 +01:00
bbfc2f416e
keep track of dirty fields is still work in progress; EmbeddedDocuments still aren't tracked (TBD)
Florian Schlachter
2010-01-31 15:43:40 +01:00
e05d31eaaf
Added get{,_or_create} docs
Harry Marr
2010-01-31 13:47:27 +00:00
431f006751
new save() method updates only dirty fields. fixes issue #18
Florian Schlachter
2010-01-31 14:40:00 +01:00
ffc9d7b152
Merge branch 'master' of git://github.com/flosch/mongoengine Added unit test for get_or_create, merged flosch's get with punteney's get.
Harry Marr
2010-01-31 13:24:50 +00:00
79604180db
Merge branch 'master' of git://github.com/punteney/mongoengine
Harry Marr
2010-01-31 13:11:20 +00:00
7d6e117f68
added get-method to fetch exactly one document from the collection. catching pymongo's ObjectId-errors and raising mongoengine's ValidationError instead.
Florian Schlachter
2010-01-31 01:11:37 +01:00
2585f1b724
queryset_manager funcs now accept doc as arg
Harry Marr
2010-01-23 17:16:01 +00:00
470e08f616
exec_js functions now acknowledge Q objects
Harry Marr
2010-01-23 03:05:27 +00:00
f1e51f9708
Merge branch 'master' of git://github.com/hmarr/mongoengine into deferred_fields
blackbrrr
2010-01-19 12:27:14 -06:00
e0becc109d
Adding tests to test the get query
James Punteney
2010-01-16 14:51:13 -05:00
47e4dd40cd
Making the query actually get called for get
James Punteney
2010-01-16 13:24:10 -05:00
c38faebc25
Adding a get method to the queryset that raises exceptions if more or less than one item is returned
James Punteney
2010-01-16 13:21:16 -05:00