if your code indentation is accurate, check get_model and index_queryset are actually part of the NoteIndex class
class NoteIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True,use_template=True) author = indexes.CharField(model_attr='user') pub_date = indexes.DateTimeField(model_attr='pub_date') def get_model(self): return Note def index_queryset(self, using=None): """Used when the entire index for model is update.""" return self.get_model().objects.filter(pub_date__lte=datetime.datetime.now()) as you posted suggests that is not the case. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8438fdef-4e64-4731-b2a3-0679b267f6a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.