From 14acace0291186adc46f82342c53f86288f4ec6b Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Wed, 27 Jan 2010 16:24:48 +0000 Subject: [PATCH] Fixed #12706 -- Forgot to pass `using` kwarg in parent class initialization of `GeoQuerySet`. Thanks, albsen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12309 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/db/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/db/models/query.py b/django/contrib/gis/db/models/query.py index 8f25c13e89..63100ec11b 100644 --- a/django/contrib/gis/db/models/query.py +++ b/django/contrib/gis/db/models/query.py @@ -12,7 +12,7 @@ class GeoQuerySet(QuerySet): ### Methods overloaded from QuerySet ### def __init__(self, model=None, query=None, using=None): - super(GeoQuerySet, self).__init__(model=model, query=query) + super(GeoQuerySet, self).__init__(model=model, query=query, using=using) self.query = query or GeoQuery(self.model) def values(self, *fields):