summaryrefslogtreecommitdiff
path: root/helsinki/program/search_indexes.py
diff options
context:
space:
mode:
Diffstat (limited to 'helsinki/program/search_indexes.py')
-rw-r--r--helsinki/program/search_indexes.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/helsinki/program/search_indexes.py b/helsinki/program/search_indexes.py
deleted file mode 100644
index 745f379..0000000
--- a/helsinki/program/search_indexes.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from haystack.indexes import CharField, DateTimeField, SearchIndex
-from haystack import site
-
-from datetime import datetime
-
-from program.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)