Created
July 27, 2010 17:25
-
-
Save notanumber/492548 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: haystack/views.py | |
=================================================================== | |
--- haystack/views.py (revision 3558) | |
+++ haystack/views.py (working copy) | |
@@ -113,6 +113,9 @@ | |
} | |
context.update(self.extra_context()) | |
+ if settings.HAYSTACK_INCLUDE_SPELLING: | |
+ context['spelling_suggestion'] = self.form.search().spelling_suggestion() | |
+ | |
return render_to_response(self.template, context, context_instance=self.context_class(self.request)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment