Blog Archive for May 19, 2010

django-registration and botscout

May 19, 2010

I have a website which users can register on. It's got the usual bot problems, and I decided to implement botscout. I have copied django-registration into my source, so as a quick solution I modified it to implement the call to botscout. I wouldn't normally recommend this approach, and I'm …

Django Text Search with Haystack and Whoosh

May 19, 2010

I decided to improve the simple search on this blog using Haystack and Whoosh. Haystack is a Django plugin to allow text search, whilst Whoosh is a pure Python search backend.

settings.py

I copied haystack and whoosh as suppliers to my project, and then modified settings.py:

HAYSTACK_SITECONF = 'drumcoder.search_sites'
HAYSTACK_SEARCH_ENGINE …