Commit Graph
3056 Commits
Author SHA1 Message Date
Vincent Driessen 86233bcdf5 Added initial implementation of cascading document deletion.
The current implementation is still very basic and needs some polish.
The essence of it is that each Document gets a new meta attribute called
"delete_rules" that is a dictionary containing (documentclass,
fieldname) as key and the actual delete rule as a value.  (Possible
values are DO_NOTHING, NULLIFY, CASCADE and DENY.  Of those, only
CASCADE is currently implented.)
2010-12-05 22:24:27 -08:00
Vincent Driessen 4f3eacd72c Fix: whitespace.
This broke my Vim auto-folds.
2010-12-05 22:24:27 -08:00
Vincent Driessen 67fcdca6d4 Fix: PyFlakes pointed out this missing import. 2010-12-05 22:24:27 -08:00
Vincent Driessen 62cc8d2ab3 Fix: redefinition of "datetime" from line 6. 2010-12-05 22:24:27 -08:00
Harry Marr 3a0523dd79 Fixed issue with unset operation 2010-12-05 21:43:04 +00:00
Harry Marr cec8b67b08 Added test for unsetting fields 2010-12-05 20:47:24 +00:00
sshwsfc ca8c3981c4 2010-11-18 22:35:11 -08:00
sshwsfc ca56785cbc add some prepare_query_value method for fields 2010-11-18 21:33:05 -08:00
Deepak Thukral b12c34334c added test case for issue 103 2010-11-18 20:44:51 +01:00
Viktor KerkezandViktor Kerkez 9c8411b251 Choice field test updated 2010-11-11 18:19:35 +01:00
Ales Zoulek 66baa4eb61 QS.all_fields - resets previous .only() and .exlude() 2010-11-10 22:01:27 +01:00
Deepak Thukral 89646439e7 fixed typo in error message 2010-11-10 21:02:59 +01:00
Ales Zoulek bda4776a18 added Queryset.exclude() + tests 2010-11-05 12:57:48 +01:00
Harry Marr c6058fafed Merge branch 'dev' of github.com:hmarr/mongoengine into dev 2010-11-02 13:44:19 +00:00
Harry Marr 11950eabea Merge branch 'master' of http://github.com/aleszoulek/mongoengine into dev 2010-11-02 13:43:33 +00:00
Viktor Kerkez e1282028a5 Added django style choices 2010-11-01 14:54:55 +01:00
Harry Marr 6b880aa8b3 Fixed order-then-filter issue 2010-11-01 00:43:30 +00:00
Ales Zoulek a3830be4c9 QuerySet.only() supports subfields + tests 2010-10-28 01:13:24 +02:00
Viktor Kerkez ef15733efe Added creation_counter to BaseField in order to provied form modules with a way to sort fields i order user specified them (same technique is used in Django) 2010-10-23 22:35:37 +02:00
Viktor Kerkez f0c5dd1bce Small fix for Python 2.5 2010-10-23 22:33:03 +02:00
Harry Marr e868f37c60 Merge branch 'master' of http://github.com/benmur/mongoengine into dev 2010-10-20 13:31:47 +01:00
Rached Ben Mustapha 18baa2dd7a fix calling a queryset after skip and limit have been set 2010-10-19 22:40:36 +00:00
Rached Ben Mustapha 2560145551 add a failing test for the pagination bug 2010-10-19 22:23:08 +00:00
Harry Marr 3b88a4f728 Fixed a couple of errors in the docs 2010-10-19 12:28:34 +01:00
Harry Marr 69989365c7 Merge branch 'v0.4' v0.4 2010-10-18 13:56:07 +01:00
Harry Marr 2b9c526b47 Merge branch 'v0.4' of http://github.com/schallis/mongoengine into v0.4 2010-10-18 13:55:57 +01:00
Steve Challis d7c42861fb Minor GridFS corrections 2010-10-18 10:25:06 +01:00
Harry Marr e9d478ed9f Merge branch 'master' of http://github.com/cyberdelia/mongoengine into v0.4 2010-10-18 10:22:56 +01:00
Harry Marr d6cb5b9abe Removed invalid connection tests 2010-10-18 10:21:23 +01:00
Steve Challis 5580b003b5 Added self to AUTHORS 2010-10-18 01:30:32 +01:00
Steve Challis 67736c849d Finished GridFS Documentation
* Also made GridFS replace test pass
2010-10-18 00:55:44 +01:00
Steve Challis 39e27735cc Merge branch 'v0.4' of git://github.com/hmarr/mongoengine into v0.4
Conflicts:
	docs/changelog.rst
	mongoengine/base.py
	mongoengine/queryset.py
2010-10-17 23:48:20 +01:00
Harry Marr 0902b95764 Added support for recursive embedded documents 2010-10-18 00:27:40 +01:00
Steve Challis dc7181a3fd Begun GridFS documentation 2010-10-17 23:43:58 +01:00
Harry Marr e93c4c87d8 Fixed inheritance collection issue 2010-10-17 17:41:20 +01:00
Harry Marr dcec61e9b2 Raise AttributeError when necessary on QuerySet[] 2010-10-17 16:36:22 +01:00
Harry Marr 007f116bfa Increment version to 0.4 2010-10-17 15:42:31 +01:00
Harry Marr 6817f3b7ba Updated docs for v0.4 2010-10-17 15:40:49 +01:00
Harry Marr 36993029ad Removed old Q-object implementation 2010-10-17 14:22:45 +01:00
Harry Marr 012352cf24 Added snapshot and timeout methods to QuerySet 2010-10-17 14:21:55 +01:00
Harry Marr 26723992e3 Combined Q-object tests 2010-10-17 14:14:05 +01:00
Harry Marr 3591593ac7 Fixed GenericReferenceField query issue 2010-10-17 13:55:48 +01:00
Harry Marr d3c2dfbaee Merge branch 'master' of http://github.com/ixc/mongoengine into v0.4
Conflicts:
	mongoengine/fields.py
	mongoengine/queryset.py
2010-10-17 13:54:16 +01:00
Harry Marr b2b4456f74 Merge branch 'new-q-objects' into v0.4 2010-10-17 13:42:29 +01:00
Harry Marr f666141981 Added test for list of referencefields 2010-10-17 13:23:11 +01:00
Harry Marr fb4c4e3e08 Merge branch 'master' of http://github.com/jaimebuelta/mongoengine into v0.4 2010-10-17 13:06:41 +01:00
Harry Marr 34fa5cd241 Added some imports for PyMongo 1.9 compatibility. 2010-10-16 16:03:26 +01:00
Jaime 833fa3d94d Added note about the use of default parameters 2010-10-06 20:02:14 +01:00
Harry Marr 92471445ec Fix changing databases
Conflicts:

	mongoengine/connection.py
	mongoengine/queryset.py
2010-10-05 00:46:13 +01:00
Harry Marr 3acfd90720 Added some imports for PyMongo 1.9 compatibility. 2010-10-04 14:58:00 +01:00