@ -16,7 +16,6 @@ class DocumentoAcessorioIndex(indexes.SearchIndex, indexes.Indexable):
return self.model
def index_queryset(self, using=None):
"""Used when the entire index for model is updated."""
return self.get_model().objects.all()
def prepare(self, obj):
@ -63,7 +63,11 @@
</tr>
{% empty %}
<h3> Nenhum resultado encontrado! </h3>
<h3> Nenhum texto encontrado! </h3>
<tr>
<td>
</td>
{% endfor %}
</table>