163 Commits

Author SHA1 Message Date
Harry Marr
719a653375 Added match operator docs 2010-02-26 13:48:00 +00:00
Harry Marr
66520c77f8 Added regex match operators with test 2010-02-26 13:43:45 +00:00
Harry Marr
ab2d019349 Added server-side js docs 2010-02-26 13:23:15 +00:00
Harry Marr
d0e0b291df Implementation and tests for exec_js field substitution 2010-02-25 17:20:52 +00:00
Harry Marr
200e9eca92 Merge branch 'only_fields' of git://github.com/blackbrrr/mongoengine 2010-02-24 20:23:59 +00:00
Harry Marr
634f771547 QuerySet repr now uses limit and skip 2010-02-24 17:01:31 +00:00
Harry Marr
2996f8919d Limits of size 0 now return no results 2010-02-24 16:07:26 +00:00
blackbrrr
1b68efe7c7 updated QuerySet.only docstring 2010-02-24 09:52:39 -06:00
Harry Marr
145b0c33fc Support 1-arg queryset managers, but warn about deprecation 2010-02-23 18:27:14 +00:00
blackbrrr
8b1a39f2c1 added QuerySet.only 2010-02-23 00:24:28 -06:00
Harry Marr
6dbc051409 Fixed in_bulk test 2010-02-23 01:14:00 +00:00
Harry Marr
c148a5bbfc Merge branch 'master' of git://github.com/ack/mongoengine 2010-02-23 01:12:56 +00:00
Deepak Thukral
90d9bd9723 added natural object comparision 2010-02-21 12:13:58 +01:00
Deepak Thukral
bc7e6ccf53 set_password returns user object, comp. with django 1.2 2010-02-21 11:51:21 +01:00
Albert Choi
6cab002214 missing DecimalField 2010-02-15 14:25:49 -08:00
blackbrrr
3762a69537 added QuerySet.in_bulk, bulk querying with ObjectIds 2010-02-14 21:02:55 -06:00
blackbrrr
348f7b5dfc merged master, fixed 1 merge conflict 2010-02-14 17:23:38 -06:00
blackbrrr
d0ceb74a2e removed unused fields and tests 2010-02-12 09:57:09 -06:00
Harry Marr
ea1fe6a538 Fixed set/unset issue with ListFields 2010-02-12 11:21:51 +00:00
Florian Schlachter
a93509c9b3 Merge remote branch 'hmarr/master' 2010-02-12 10:19:47 +01:00
Harry Marr
210e9e23af Dereferencing of referenced documents within lists 2010-02-12 02:31:41 +00:00
blackbrrr
c4513f0286 merged master 2010-02-11 15:43:37 -06:00
Florian Schlachter
1114572b47 Merge remote branch 'hmarr/master' 2010-02-10 14:25:33 +01:00
Harry Marr
b2588d1c4f Changed neq to ne, fixed Q object in and nin 2010-02-10 12:35:41 +00:00
Florian Schlachter
e2414d8fea Merge remote branch 'hmarr/master' 2010-02-05 00:36:26 +01:00
Florian Schlachter
24db0d1499 return db-object to allow low-level access from outside via connect() 2010-02-05 00:35:49 +01:00
Harry Marr
89f505bb13 Removed pool_size from connect, minor tidyup 2010-02-04 01:44:52 +00:00
Florian Schlachter
df5b1f3806 Merge remote branch 'hmarr/master' 2010-02-03 02:26:26 +01:00
Harry Marr
755deb3ffe Added DictField 2010-02-03 01:22:25 +00:00
Florian Schlachter
59f8c9f38e make mongoengine more international :) using unicode-strings; str(err) raises errors if it contains non-ascii chars/umlauts 2010-02-02 21:48:47 +01:00
Florian Schlachter
69e9b5d55e fixed unicode-bug; replaced str(err) with err.message 2010-02-02 21:44:11 +01:00
Florian Schlachter
a2d8b0ffbe Merge remote branch 'hmarr/master' 2010-02-02 18:49:52 +01:00
Harry Marr
0bbf3a3d76 Fixed EmbeddedDocument validation bug 2010-02-02 17:37:09 +00:00
Florian Schlachter
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) 2010-01-31 18:06:25 +01:00
Florian Schlachter
73aff806f3 reset to master, keep working on the dirty-fields-patch in another branch 2010-01-31 18:00:01 +01:00
Florian Schlachter
963a223e7e Merge remote branch 'hmarr/master'
Conflicts:
	mongoengine/queryset.py
2010-01-31 17:43:56 +01:00
Florian Schlachter
bbfc2f416e keep track of dirty fields is still work in progress; EmbeddedDocuments still aren't tracked (TBD) 2010-01-31 15:43:40 +01:00
Harry Marr
e05d31eaaf Added get{,_or_create} docs 2010-01-31 13:47:27 +00:00
Florian Schlachter
431f006751 new save() method updates only dirty fields. fixes issue #18 2010-01-31 14:40:00 +01:00
Harry Marr
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.

Conflicts:
	mongoengine/queryset.py
2010-01-31 13:24:50 +00:00
Harry Marr
79604180db Merge branch 'master' of git://github.com/punteney/mongoengine 2010-01-31 13:11:20 +00:00
Florian Schlachter
7d6e117f68 added get-method to fetch exactly one document from the collection. catching pymongo's ObjectId-errors and raising mongoengine's ValidationError instead. 2010-01-31 01:11:37 +01:00
Florian Schlachter
b3cc2f990a improved get_or_create 2010-01-30 22:01:43 +01:00
Florian Schlachter
8d953f0bcb Added get_or_create-method 2010-01-30 21:12:46 +01:00
Harry Marr
5cac52720c Fixed querying on ReferenceFields using primary key 2010-01-27 15:57:11 +00:00
Harry Marr
bca6119db8 Minor tidyup 2010-01-26 19:36:19 +00:00
Harry Marr
568000805f EmbeddedDocuments may now be non-polymorphic 2010-01-25 01:00:04 +00:00
blackbrrr
3fb6307596 Merge branch 'master' of git://github.com/hmarr/mongoengine 2010-01-23 18:41:52 -06:00
blackbrrr
7aa0031dec reset 2010-01-23 15:39:26 -06:00
Harry Marr
2585f1b724 queryset_manager funcs now accept doc as arg 2010-01-23 17:16:01 +00:00