mirror of https://github.com/django/django.git
Added hints argument to GeoQuerySet; refs #13724.
This commit is contained in:
parent
2004f86b85
commit
4745ea1d27
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue