421 Commits

Author SHA1 Message Date
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
431f006751 new save() method updates only dirty fields. fixes issue #18 2010-01-31 14:40:00 +01:00
Harry Marr
5cac52720c Fixed querying on ReferenceFields using primary key 2010-01-27 15:57:11 +00:00
blackbrrr
f1e51f9708 Merge branch 'master' of git://github.com/hmarr/mongoengine into deferred_fields 2010-01-19 12:27:14 -06:00
Harry Marr
3357b55fbf Indexing on ListFields now works properly 2010-01-16 15:35:01 +00:00
blackbrrr
5f84d6f8f8 added URLField, DecimalField, tests. 2010-01-14 11:32:28 -06:00
Harry Marr
597ef8b947 Merge branch 'master' of git@github.com:hmarr/mongoengine 2010-01-11 04:44:13 +00:00
Harry Marr
afd416c84e Updated docs, added force_insert to save() 2010-01-11 04:15:36 +00:00
Harry Marr
84d7987108 Added prepare_query_value for a couple of fields 2010-01-10 21:01:00 +00:00
Harry Marr
557fb19d13 Query values may be processed before being used 2010-01-06 03:14:21 +00:00
Harry Marr
af1d7ef664 Added BooleanField 2010-01-05 18:17:44 +00:00
Harry Marr
53544c5b0f Queries now translate keys to correct field names 2009-12-27 23:08:31 +00:00
Harry Marr
f687bad202 Accessing a missing field now returns None rather than raising an AttributeError 2009-12-24 17:10:36 +00:00
Harry Marr
8a646f0f4c Added API Reference to docs 2009-12-19 16:04:05 +00:00
Harry Marr
0a64f42d5f Renamed Document._id to id (still _id in DB)
Although MongoDB uses _id, underscore prefixed attributes imply
private access in Python and are sometimes may not be accessed
(e.g. in the Django template language), but id should be public.
2009-12-18 16:31:32 +00:00
Harry Marr
d46191159e Added DateTimeField and FloatField 2009-11-23 18:03:10 +00:00
Harry Marr
f2d4ffa091 Cleaned up _to_{python,mongo} + _validate mess 2009-11-22 17:26:47 +00:00
Harry Marr
d4fc5c9260 Removed CollectionManager, moved work to QuerySet
As CollectionManager has been replaced with QuerySet and
QuerySetManager, collection.py has been renamed queryset.py.
2009-11-22 16:46:08 +00:00
Harry Marr
3017dc78ed Renamed project to mongoengine 2009-11-21 18:41:10 +00:00