diff --git a/app/stores/search_indexes.py b/app/stores/search_indexes.py index 82dae2d..8bab5c6 100644 --- a/app/stores/search_indexes.py +++ b/app/stores/search_indexes.py @@ -12,4 +12,4 @@ class StoreIndex(indexes.SearchIndex, indexes.Indexable): def index_queryset(self, using=None): """Used when the entire index for model is updated.""" - return self.get_model().objects.filter(active=True).exclude(geo_latitude=None) + return self.get_model().objects.filter(active=True).exclude(address__geo_latitude=None)