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
This commit is contained in:
parent
65b6080da2
commit
14acace029
|
@ -12,7 +12,7 @@ class GeoQuerySet(QuerySet):
|
||||||
|
|
||||||
### Methods overloaded from QuerySet ###
|
### Methods overloaded from QuerySet ###
|
||||||
def __init__(self, model=None, query=None, using=None):
|
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)
|
self.query = query or GeoQuery(self.model)
|
||||||
|
|
||||||
def values(self, *fields):
|
def values(self, *fields):
|
||||||
|
|
Loading…
Reference in New Issue