wc351/ungmap — pull request #11 by crlyli (2014-10-18 23:54:55+00:00)
Title: Implemented django haystack using whoosh backend

Altered settings.py to include haystack connections to whoosh backend. Also added haystack to installed apps. Created search_indexes.py. File is required to use haystack. Added text files for each model to be searched. Objects in each file are what will be searched in the models. Added search template using basic template provided by the tutorial. Updated main urls to include haystack urls. Altered str in models to clean up data show when search is preformed. Altered base.html to include search in navigation bar and link to search page. Added django haystack and whoosh to the requirements.txt. Note currently the search boxes are labeled using the verbose name defined in the models. I am currently looking for a way to override these settings.