Skip to content

Commit 1cfb6c6

Browse files
bigjustjustin caratzas
authored and
justin caratzas
committed
pass using to index_queryset for update
1 parent b8ccf8a commit 1cfb6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def update(self, using=None):
255255
backend = self._get_backend(using)
256256

257257
if backend is not None:
258-
backend.update(self, self.index_queryset())
258+
backend.update(self, self.index_queryset(using=using))
259259

260260
def update_object(self, instance, using=None, **kwargs):
261261
"""

0 commit comments

Comments
 (0)