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
Harry Marr
5e6a6aa886
Added sort method to QuerySet
2009-12-18 18:41:44 +00:00
Harry Marr
44fc9096a4
Added delete method to Document objects
2009-12-18 16:57:53 +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
fc0e67023a
Required fields may now use default values
2009-12-18 13:40:33 +00:00
Harry Marr
1529fd901d
Queries may now use multiple operators on fields
2009-11-23 18:16:41 +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
70ee0f57ea
Added Document.drop_collection, cleaned up tests
2009-11-21 20:32:29 +00:00
Harry Marr
8e89c8b37a
Added delete method to QuerySet
2009-11-21 20:03:31 +00:00
Harry Marr
3017dc78ed
Renamed project to mongoengine
2009-11-21 18:41:10 +00:00