Commit Graph

112 Commits

Author SHA1 Message Date
Harry Marr
b01596c942 Made field validation lazier 2010-01-03 22:37:55 +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
3d70b65a45 Added queryset_manager decorator 2009-12-23 19:32:00 +00:00
blackbrrr
8ad0df41a0 merged hmarr's updates 2009-12-19 14:31:17 -06:00
Harry Marr
9d12dbad70 Made _cls etc optional, merged sort to order_by 2009-12-19 02:33:01 +00:00
blackbrrr
c58f377a0a removed reliance on '_cls' in document; fields only parsed if '__class__' present, allowing inner classes and non-field attributes on a document 2009-12-19 08:53:52 +08:00
blackbrrr
12a7fc1af1 removed reliance on '_cls' in document; fields only parsed if '__class__' present, allowing inner classes and non-field attributes on a document 2009-12-18 11:34:32 -06: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
fc0e67023a Required fields may now use default values 2009-12-18 13:40:33 +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