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 |
|
Florian Schlachter
|
431f006751
|
new save() method updates only dirty fields. fixes issue #18
|
2010-01-31 14:40:00 +01: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 |
|