I'm following Haystack tutorial and trying to adapt it to my project. It says
You’ll need to create a new template inside your template directory called search/indexes/myapp/note_text.txt and place the following inside:
But I have put this in the 3 places I can think it might mean, but I still get TemplateDoesNotExist.
What am I doing wrong?
As already pointed out in the comments to the question:
In the stacktrace that can be seen in the screenshot, the error message says it cannot find the template .../cards_text.txt
; notice how the name is all lowercase.
But the project structure that can be seen in the same screenshot shows a file named .../Cards_text.txt
; notice how the name starts with a capital letter.
You could either fix your code or rename the file.