26 Commits

Author SHA1 Message Date
Harry Marr
89f505bb13 Removed pool_size from connect, minor tidyup 2010-02-04 01:44:52 +00:00
Florian Schlachter
69e9b5d55e fixed unicode-bug; replaced str(err) with err.message 2010-02-02 21:44:11 +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
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
Harry Marr
ce69428cc6 Moved validate() to BaseDocument 2010-01-13 16:41:57 +00:00
Harry Marr
afd416c84e Updated docs, added force_insert to save() 2010-01-11 04:15:36 +00:00
Harry Marr
ec927bdd63 Added support for user-defined primary keys (_ids) 2010-01-10 17:13:56 +00:00
Harry Marr
42a58dda57 Added update() and update_one() with tests/docs 2010-01-08 18:39:06 +00:00
Harry Marr
4d695a3544 Added single and multifield uniqueness constraints 2010-01-08 12:04:11 +00:00
Harry Marr
960aea2fd4 Added indexes and Django use to docs 2010-01-07 23:54:57 +00:00
Harry Marr
4c93e2945c Added test for meta[indexes] 2010-01-07 15:46:52 +00:00
Harry Marr
557fb19d13 Query values may be processed before being used 2010-01-06 03:14:21 +00:00
Harry Marr
3bead80f96 Added Document.reload method 2010-01-05 00:25:42 +00:00
Harry Marr
6363b6290b Added capped collections support 2010-01-04 03:33:42 +00:00
Harry Marr
b01596c942 Made field validation lazier 2010-01-03 22:37:55 +00:00
Harry Marr
90e5e5dfa9 Fixed delete(), resolved item_frequencies field 2009-12-28 01:39:29 +00:00
Harry Marr
3d70b65a45 Added queryset_manager decorator 2009-12-23 19:32:00 +00:00
Harry Marr
8a646f0f4c Added API Reference to docs 2009-12-19 16:04:05 +00: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
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
3017dc78ed Renamed project to mongoengine 2009-11-21 18:41:10 +00:00