Skip to content

Commit be6715e

Browse files
committed
edit changelog
1 parent 0b177eb commit be6715e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
CHANGELOG
22

3+
2015-07-XX X.X.X
4+
* [ADD] `get_queryset` for grain indexing possibility
5+
36
2015-07-04 1.2.0
47
* [REMOVE] algolia_buildindex command. Use algolia_reindex instead.
58
* [CHANGE] Settings format. Last format is still supported.

src/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def reindex_all(self, batch_size=1000):
216216
counts = 0
217217
batch = []
218218

219-
if getattr(self, 'get_queryset', None):
219+
if hasattr(self, 'get_queryset'):
220220
qs = self.get_queryset()
221221
else:
222222
qs = self.model.objects.all()

0 commit comments

Comments
 (0)