Skip to content
Browse files

Fixed #12706 -- Forgot to pass `using` kwarg in parent class initiali…

…zation of `GeoQuerySet`. Thanks, albsen.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 65b6080 commit 14acace0291186adc46f82342c53f86288f4ec6b @jbronn jbronn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/db/models/query.py
View
2 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):

0 comments on commit 14acace

Please sign in to comment.
Something went wrong with that request. Please try again.