John Arnfield
376ca717fa
Added support for within_polygon for spatial queries
2011-07-30 22:01:24 +01:00
Ross Lawley
c059ad47f2
Updated django docs refs #186
2011-06-07 15:14:41 +01:00
Ross Lawley
1ee50922d9
Merge pull request #186 from kuno/master
...
fixed import path typo in django document
2011-06-07 06:37:34 -07:00
kuno
d63bf0abde
fixed import path typo in django documents
2011-06-07 20:19:29 +08:00
Ross Lawley
378b52321b
Merge commit '18baa2dd7a4e909169b694cb6ec36214c5a51506'
2011-05-18 09:17:05 +01:00
Ross Lawley
a76008e440
Merge pull request #164 from glyphobet/master
...
spherical geospatial operators.
Thanks again to glyphobet
2011-05-16 08:18:22 -07:00
Matt Chisholm
6cf0cf9e7d
slight reordering of test code for clarity
2011-05-10 12:31:31 +02:00
Matt Chisholm
608f08c267
Implement spherical geospatial query operators & unit tests
...
fixes https://github.com/hmarr/mongoengine/issues/163
2011-05-10 12:28:56 +02:00
Ross Lawley
bd3340c73f
Merge pull request #162 from glyphobet/master
...
Comments in unit tests should say "degrees," not "miles":
MongoDB docs are confusing, only the spherical queries $nearSphere and $centerSphere use radians. The $near and $center queries, which are the ones that are used in these mongoengine tests, use the same units as the coordinates. For distances on the earth, this means they use degrees. (This is also why the 2d indexes can be used for other 2d data, not just points on the earth.)
Here's a mongo shell session demonstrating that $near and $center use degrees, and that $nearSphere and $centerSphere are the ones that use radians: https://gist.github.com/964126
So, these mongoengine tests are using $near and $center, which use degrees, not miles, kilometers, or radians.
Thanks glyphobet for the clarification and taking time to explain it!
2011-05-10 02:15:17 -07:00
Matt Chisholm
3b7a8ce449
change comments to reflect that the geospatial queries use degrees, not miles
2011-05-09 22:29:27 +02:00
Ross Lawley
e9ad04f763
Merge pull request #160 from Ankhbayar/master
...
Added __hash__, __ne__ with test.
Thanks Ankhbayar
2011-05-09 02:28:41 -07:00
Harry Marr
eeae1b4aea
Merge pull request #148 from srackham/drop-close-warning
...
Drop gridfs close warning
2011-05-08 06:41:28 -07:00
Harry Marr
9432d1a194
Merge pull request #158 from glyphobet/master
...
tiny documentation fix
2011-05-08 06:40:29 -07:00
Harry Marr
3b2dbf1897
Merge pull request #159 from gregglind/patch-1
...
Tiny spelling correction / clarification.
2011-05-08 06:39:45 -07:00
Gregg Lind
9c1ad5f631
Tiny spelling correction / clarification.
2011-05-04 18:01:06 -07:00
Matt Chisholm
c2fef4e791
error in documentation; need to use keyword arg to create Comment object
2011-05-03 23:50:20 +02:00
Анхбаяр Лхагвадорж
96dbeea171
Added __hash__, __ne__ with test.
2011-04-12 20:23:16 +08:00
Stuart Rackham
829df581f0
Drop gridfs close warning
2011-04-04 15:19:57 +12: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
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
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