Added support for $maxDistance (#179)

This commit is contained in:
Ross Lawley
2013-01-22 13:31:53 +00:00
parent 0b177ec4c1
commit 2c7b12c022
4 changed files with 17 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ Changes in 0.8.X
- Simplified Q objects, removed QueryTreeTransformerVisitor (#98) (#171)
- FileFields now copyable (#198)
- Querysets now return clones and are no longer edit in place (#56)
- Added support for $maxDistance (#179)
Changes in 0.7.9
================

View File

@@ -92,6 +92,8 @@ may used with :class:`~mongoengine.GeoPointField`\ s:
* ``within_polygon`` -- filter documents to those within a given polygon (e.g.
[(41.91,-87.69), (41.92,-87.68), (41.91,-87.65), (41.89,-87.65)]).
.. note:: Requires Mongo Server 2.0
* ``max_distance`` -- can be added to your location queries to set a maximum
distance.
Querying lists