search: ascii everywhere and unformalized whitespace

This commit is contained in:
tleb
2020-04-21 13:50:43 +02:00
committed by Skia
parent 1a483bfa2c
commit 30091ef69c
4 changed files with 46 additions and 4 deletions

View File

@ -45,6 +45,9 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
def get_updated_field(self):
return "last_update"
def prepare_auto(self, obj):
return self.prepared_data["auto"].strip()
class IndexSignalProcessor(signals.BaseSignalProcessor):
def setup(self):