Permalink
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...
1 parent e992e57 commit 9c5075d1259bba80c846e3ddfd1f2e81c884c801 @jbronn jbronn committed Jul 15, 2009
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)

0 comments on commit 9c5075d

Please sign in to comment.