1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Added hints argument to GeoQuerySet; refs #13724.

This commit is contained in:
Tim Graham 2013-09-30 14:16:17 -04:00
parent 2004f86b85
commit 4745ea1d27

View File

@ -15,8 +15,8 @@ class GeoQuerySet(QuerySet):
"The Geographic QuerySet."
### Methods overloaded from QuerySet ###
def __init__(self, model=None, query=None, using=None):
super(GeoQuerySet, self).__init__(model=model, query=query, using=using)
def __init__(self, model=None, query=None, using=None, hints=None):
super(GeoQuerySet, self).__init__(model=model, query=query, using=using, hints=hints)
self.query = query or GeoQuery(self.model)
def values(self, *fields):