Commit Graph
100 Commits
Author SHA1 Message Date
Harry Marr 0902b95764 Added support for recursive embedded documents 2010-10-18 00:27:40 +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 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
Harry Marr 4742328b90 Delete stale cursor when query is filtered. Closes #62. 2010-10-04 12:11:01 +01:00
Harry Marr b4c54b1b62 Added support for the $not operator 2010-10-04 11:41:49 +01:00
Harry Marr 76cb851c40 Replaced old Q-object with new, revamped Q-object 2010-10-04 11:41:07 +01:00
Harry Marr 3fcc0e9789 Combining OR nodes works, fixed other Q-object bugs 2010-10-04 02:10:37 +01:00
Harry Marr 8e65154201 Added a tree transformer, got complex ANDs working 2010-10-04 00:06:42 +01:00
Harry Marr c0f7c4ca2d Fixed error in empty property on QCombination 2010-10-03 23:22:36 +01:00
Harry Marr db2f64c290 Made query-tree code a bit clearer 2010-10-03 23:01:44 +01:00
Harry Marr a3c46fec07 Compilation of combinations - simple $or now works 2010-10-03 21:26:26 +01:00
Harry Marr 62388cb740 Started work on new Q-object implementation 2010-10-03 21:08:28 +01:00
Harry Marr 556eed0151 QuerySet.distinct respects query. Closes #64. 2010-10-03 15:22:47 +01:00
Harry Marr 4012722a8d QuerySet.item_frequencies works with non-list fields 2010-10-03 15:01:45 +01:00
Harry Marr 4c68bc6c96 Merge branch 'master' of http://github.com/sibsibsib/mongoengine into v0.4
Conflicts:
	mongoengine/queryset.py
	tests/queryset.py
2010-10-03 01:57:22 +01:00
Harry Marr 159923fae2 Made lists of recursive reference fields possible 2010-10-03 01:48:42 +01:00
Harry Marr 98bc0a7c10 Raise AttributeError when necessary on GridFSProxy 2010-09-25 22:47:09 +01:00
Harry Marr bb24879149 Moved custom queryset test to correct place 2010-09-19 20:00:53 +01:00
Harry Marr 3d6ee0ce00 Merge branch 'master' of http://github.com/n1k0/mongoengine into v0.4 2010-09-19 19:55:57 +01:00
Harry Marr ee72845701 Merge branch 'v0.4' of http://github.com/samuelclay/mongoengine into v0.4 2010-09-19 19:53:12 +01:00
Harry Marr d158727154 Merge branch 'v0.4' of github.com:hmarr/mongoengine into v0.4 2010-09-19 17:18:39 +01:00
Harry Marr 73092dcb33 QuerySet update method returns num affected docs 2010-09-19 17:17:37 +01:00
Harry Marr f11ee1f9cf Added support for using custom QuerySet classes 2010-09-15 09:47:13 +01:00
Harry Marr 2af5f3c56e Added support for querying by array position. Closes #36. 2010-08-31 00:24:30 +01:00
Harry Marr 1849f75ad0 Made GridFSProxy a bit stricter / safer 2010-08-31 00:23:59 +01:00
Harry Marr 32e66b29f4 Fixed FileField problem caused by shared objects 2010-08-30 22:12:05 +01:00
Harry Marr 69012e8ad1 Fixed incorrect $pull test 2010-08-30 19:59:49 +01:00
Harry Marr 17642c8a8c Fixed QuerySet.average issue that ignored 0 2010-08-30 19:48:17 +01:00
Harry Marr 9540555b26 Merge branch 'master' of git://github.com/flosch/mongoengine into v0.4 2010-08-30 17:29:59 +01:00
Harry Marr 5b230b90b9 Doc fix (all operator) 2010-08-30 15:34:29 +01:00
Harry Marr 1ed9a36d0a Added test for pop operation 2010-08-30 14:02:02 +01:00
Harry Marr 3297578e8d Merge branch 'master' of http://github.com/richardhenry/mongoengine into v0.4 2010-08-30 13:57:42 +01:00
Harry Marr 954d5c16d8 Merge branch 'master' of http://github.com/serverplot/mongoengine into v0.4 2010-08-30 13:56:28 +01:00
Harry Marr 4fb6fcabef Added test for overriding objects 2010-08-30 13:54:20 +01:00
Harry Marr 2635e41f69 Merge branch 'master' of http://github.com/theojulienne/mongoengine into v0.4 2010-08-30 13:54:07 +01:00
Harry Marr ba01817ee3 Merge branch 'master' of http://github.com/vandersonmota/mongoengine into v0.4 2010-08-30 13:34:43 +01:00
Harry Marr 40eb23a97a Merge branch 'master' of git://github.com/flosch/mongoengine into v0.4
Conflicts:
	tests/fields.py
2010-08-30 13:21:10 +01:00
Harry Marr f4711699e4 Merge branch 'master' of http://github.com/danielhasselrot/mongoengine into v0.4
Conflicts:
	mongoengine/fields.py
2010-08-30 13:03:23 +01:00
Harry Marr 3b62cf80cd Fixed {Dict,List}Field default issue. Closes #46. 2010-08-30 13:00:34 +01:00
Harry Marr d99c5973c3 Fixed Q object DBRef test bug 2010-08-30 12:52:24 +01:00
Harry Marr 9f98025b8c Added QuerySet.distinct. Closes #44. 2010-07-25 15:29:02 +01:00
Harry Marr 564f950037 Merge branch 'master' of git://github.com/flosch/mongoengine into v0.4 2010-07-25 15:09:45 +01:00
Harry Marr be651caa68 Removed a couple of sneaky print statements 2010-07-25 15:02:37 +01:00
Harry Marr c2163ecee5 Added test for Geo indexes 2010-07-07 15:12:14 +01:00
Harry Marr 71689fcf23 Got within_box working for Geo fields 2010-07-07 15:00:46 +01:00
Harry Marr 1c334141ee Merge branch 'geo' of git://github.com/blackbrrr/mongoengine into v0.4
Conflicts:
	mongoengine/fields.py
	mongoengine/queryset.py
2010-07-07 14:53:25 +01:00
Harry Marr 196606438c Fixed Q-object list query issue 2010-05-30 18:34:06 +01:00
Harry Marr 6896818bfd Added docs for exact, iexact 2010-05-30 17:40:01 +01:00
Harry Marr 467e61bcc1 Documentation fix 2010-05-28 02:28:42 +01:00
Harry Marr b23353e376 Fixed inherited document primary key issue 2010-05-24 23:03:30 +01:00
Harry Marr b8e9790de3 Merge branch 'master' of git://github.com/flosch/mongoengine 2010-05-22 15:59:41 +01:00
Harry Marr e37e8d9e65 Merge branch 'master' of git://github.com/blackbrrr/mongoengine 2010-05-22 15:53:54 +01:00
Harry Marr 3b4df4615a Fixed MRO error that occured on document inheritance 2010-04-17 21:45:11 +01:00
Harry Marr edfda6ad5b BinaryField returns str not unicode 2010-04-17 21:24:06 +01:00
Harry Marr 2b08ca7c99 Merge branch 'SortedListField' of git://github.com/joshourisman/mongoengine 2010-04-12 17:41:09 +01:00
Harry Marr 90200dbe9c Fixed DecimalField bug 2010-04-12 15:59:20 +01:00
Harry Marr 00c8d7e6f5 Bump to v0.3 2010-03-17 16:50:13 +00:00
Harry Marr 0d89e967f2 Merge branch 'mapreduce' of git://github.com/blackbrrr/mongoengine 2010-03-17 16:44:24 +00:00
Harry Marr 60802796cb Made ListField validation exceptions more helpful 2010-03-17 15:10:10 +00:00
Harry Marr 5b42578cb1 Added ~ field name substitution to mapreduce funcs 2010-03-17 14:06:31 +00:00
Harry Marr 25a0a5364a Deprecated 'name' arg for fields in favour of 'db_field' 2010-03-17 13:47:23 +00:00
Harry Marr 047cc218a6 Merge branch 'mapreduce' of git://github.com/blackbrrr/mongoengine
Conflicts:
	mongoengine/queryset.py
2010-03-17 12:31:08 +00:00
Harry Marr 39fc862676 Merge branch 'upsert' of git://github.com/blackbrrr/mongoengine 2010-03-17 12:30:18 +00:00
Harry Marr d7086fc4a3 Added rewind behaviour and BinaryField to docs 2010-03-08 22:23:40 +00:00
Harry Marr 92150e07d3 Merge branch 'binary-fields' of git://github.com/benmur/mongoengine 2010-03-08 22:17:21 +00:00
Harry Marr ac3c857e1a Added rewind to QuerySet, which is implicitly called when iteration finishes 2010-03-08 22:15:40 +00:00
Harry Marr 48e313fb44 Merge branch 'master' of git://github.com/iapain/mongoengine 2010-03-08 21:59:42 +00:00
Harry Marr 5390117275 Modified AUTHORS 2010-03-08 21:58:19 +00:00
Harry Marr 53c0cdc0c1 Added recursive and undefined document ref docs 2010-02-28 23:29:42 +00:00
Harry Marr 58f877de1a Added recursive / document name references 2010-02-28 23:16:51 +00:00
Harry Marr 95a7b33fb4 Changed how GenericReferenceFields are stored / queried 2010-02-28 23:15:21 +00:00
Harry Marr 81dd5adccf GenericReferenceField docs 2010-02-28 21:30:54 +00:00
Harry Marr 94e86a0be1 Merge branch 'gfk' of git://github.com/blackbrrr/mongoengine 2010-02-28 21:08:32 +00:00
Harry Marr 5b2dbfe007 Added tests for URLField and DecimalField 2010-02-28 18:25:40 +00:00
Harry Marr 4451843a39 Added docs for QuerySet.only 2010-02-28 17:52:29 +00:00
Harry Marr 5e2c5fa97b Merge branch 'regex-query-shortcuts' 2010-02-28 17:38:03 +00:00
Harry Marr 265776566e QuerySet.only field name translation and polymorphism fix 2010-02-26 19:43:26 +00:00
Harry Marr 6e77e32855 Fixed Q object ObjectId comparison issue 2010-02-26 17:13:19 +00:00
Harry Marr 0b1c506626 Added Q object support for regexes (inc. operator shortcuts) 2010-02-26 16:46:07 +00:00
Harry Marr 719a653375 Added match operator docs 2010-02-26 13:48:00 +00:00
Harry Marr 66520c77f8 Added regex match operators with test 2010-02-26 13:43:45 +00:00
Harry Marr ab2d019349 Added server-side js docs 2010-02-26 13:23:15 +00:00
Harry Marr d0e0b291df Implementation and tests for exec_js field substitution 2010-02-25 17:20:52 +00:00
Harry Marr 200e9eca92 Merge branch 'only_fields' of git://github.com/blackbrrr/mongoengine 2010-02-24 20:23:59 +00:00
Harry Marr 634f771547 QuerySet repr now uses limit and skip 2010-02-24 17:01:31 +00:00
Harry Marr 2996f8919d Limits of size 0 now return no results 2010-02-24 16:07:26 +00:00
Harry Marr 145b0c33fc Support 1-arg queryset managers, but warn about deprecation 2010-02-23 18:27:14 +00:00
Harry Marr 6dbc051409 Fixed in_bulk test 2010-02-23 01:14:00 +00:00