diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/search_indexes.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/program/search_indexes.py b/program/search_indexes.py deleted file mode 100644 index 4b0cf74..0000000 --- a/program/search_indexes.py +++ /dev/null @@ -1,13 +0,0 @@ -from haystack.indexes import CharField, SearchIndex -from haystack import site - -from models import Note, Show - -class NoteIndex(SearchIndex): - SearchableText = CharField(document=True, use_template=True) - -class ShowIndex(SearchIndex): - SearchableText = CharField(document=True, use_template=True) - -site.register(Note, NoteIndex) -site.register(Show, ShowIndex) |