Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot to add `collect` to `GeoManager`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9c5075d1259bba80c846e3ddfd1f2e81c884c801 1 parent e992e57
@jbronn jbronn authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/contrib/gis/db/models/manager.py
View
3  django/contrib/gis/db/models/manager.py
@@ -19,6 +19,9 @@ def area(self, *args, **kwargs):
def centroid(self, *args, **kwargs):
return self.get_query_set().centroid(*args, **kwargs)
+ def collect(self, *args, **kwargs):
+ return self.get_query_set().collect(*args, **kwargs)
+
def difference(self, *args, **kwargs):
return self.get_query_set().difference(*args, **kwargs)
Please sign in to comment.
Something went wrong with that request. Please try again.