Florian Schlachter
48facec524
Fixes tiny documentation error. Adds possibility to add custom validation methods to fields, e. g.:
...
class Customer(Document):
country = StringField(validation=lambda value: value in ['DE', 'AT', 'CH'])
Replaced some str() with unicode() for i18n reasons.
2010-04-16 16:59:34 +02:00
Don Spaulding
e9c92f30ba
Add description of each of the keyword arguments to BaseField.__init__(), adds description for choices too.
2010-04-15 17:57:23 -05:00
Don Spaulding
da3f4c30e2
Fix doc typos
2010-04-14 22:40:56 -05:00
Timothée Peignier
a39685d98c
make get_or_create returns a tuple with the retrieved or created object and a boolean specifying whether a new object was created
2010-04-12 16:21:29 +01:00
Harry Marr
00c8d7e6f5
Bump to v0.3
2010-03-17 16:50:13 +00:00
Harry Marr
25a0a5364a
Deprecated 'name' arg for fields in favour of 'db_field'
2010-03-17 13:47:23 +00:00
blackbrrr
0c1e5da9a8
added mongoengine.MapReduceDocument to api ref
2010-03-17 00:50:07 -05:00
blackbrrr
0b62c9d2f6
Merge branch 'master' of git://github.com/hmarr/mongoengine
2010-03-17 00:34:00 -05:00
blackbrrr
22a6ec7794
merged conflicts
2010-03-09 15:19:14 -06:00
Harry Marr
d7086fc4a3
Added rewind behaviour and BinaryField to docs
2010-03-08 22:23:40 +00:00
Harry Marr
53c0cdc0c1
Added recursive and undefined document ref docs
2010-02-28 23:29:42 +00:00
Harry Marr
81dd5adccf
GenericReferenceField docs
2010-02-28 21:30:54 +00:00
Harry Marr
4451843a39
Added docs for QuerySet.only
2010-02-28 17:52:29 +00:00
Harry Marr
719a653375
Added match operator docs
2010-02-26 13:48:00 +00:00
Harry Marr
ab2d019349
Added server-side js docs
2010-02-26 13:23:15 +00:00
blackbrrr
5c311eefb1
fixed merge conflict in queryset test
2010-02-12 09:59:09 -06:00
blackbrrr
69d3e0c4b6
added map/reduce support via QuerySet.map_reduce. map_reduce operations respect query specs and ordering, but ordering is currently only applied to map/reduce collection. map/reduce may eventually require its own QuerySet to avoid slicing conflicts. results are returned as lists of MapReduceDocument objects, dynamic objects representing the query. tests and documentation included. considered in the neighborhood of 'good start'.
2010-02-09 14:56:15 -06:00
Harry Marr
755deb3ffe
Added DictField
2010-02-03 01:22:25 +00:00
Harry Marr
e05d31eaaf
Added get{,_or_create} docs
2010-01-31 13:47:27 +00:00
Harry Marr
2585f1b724
queryset_manager funcs now accept doc as arg
2010-01-23 17:16:01 +00:00
Harry Marr
470e08f616
exec_js functions now acknowledge Q objects
2010-01-23 03:05:27 +00:00
Harry Marr
21b7d8f8ea
Bump to v0.2.2
2010-01-16 16:42:51 +00:00
Harry Marr
f01add9ef5
Moved sections from user guide to separate pages
2010-01-16 14:06:45 +00:00
Harry Marr
ce69428cc6
Moved validate() to BaseDocument
2010-01-13 16:41:57 +00:00
Harry Marr
e7380e3676
Bump to v0.2.1
2010-01-11 16:14:03 +00:00
Harry Marr
484bc1e6f0
Added a MongoEngine backend for Django sessions
2010-01-11 04:43:17 +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
da2d282cf6
Added Q class for building advanced queries
2010-01-09 22:19:33 +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
blackbrrr
9195d96705
added default ordering to meta options, included docs and tests
2010-01-07 23:08:33 -06:00
Harry Marr
960aea2fd4
Added indexes and Django use to docs
2010-01-07 23:54:57 +00:00
Harry Marr
b7e8108edd
Added docs about using MongoEngine with Django
2010-01-07 22:48:39 +00:00
Harry Marr
f86496b545
Bump to v0.1.2
2010-01-06 03:23:02 +00:00
Harry Marr
196f4471be
Made connection lazy
2010-01-06 00:41:56 +00:00
Harry Marr
af1d7ef664
Added BooleanField
2010-01-05 18:17:44 +00:00
Harry Marr
5ca75e9c6d
Added changelog to docs, updated manifest
2010-01-04 16:10:42 +00:00
Harry Marr
de1847048b
Bump to v0.1.1
2010-01-04 04:34:02 +00:00
Harry Marr
6363b6290b
Added capped collections support
2010-01-04 03:33:42 +00:00
Harry Marr
0830f0b480
Updated docs to reflect validation changes
2010-01-03 22:44:27 +00:00
Harry Marr
f98e9bd732
Added setup.py and MANIFEST.in, added to PyPI
2010-01-03 02:30:34 +00:00
Harry Marr
b89982fd99
Version bump to 0.1 beta
2010-01-02 21:34:48 +00:00
Harry Marr
62bda75112
Added aggregation methods to user guide
2010-01-02 20:42:18 +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
Harry Marr
69eaf4b3f6
Added to the docs, mostly the user guide
2009-12-22 03:42:35 +00:00
Harry Marr
78d8cc7df8
Started work on user guide
2009-12-21 04:33:36 +00:00
Harry Marr
8a646f0f4c
Added API Reference to docs
2009-12-19 16:04:05 +00:00
Harry Marr
c3ca3bd97c
Updated tutorial, added tutorial link to readme
2009-12-16 18:47:53 +00:00