Full-text multi-table search application for Django. Easy to install and use, with good performance.
Find a file
Simon Fransson 52794ac35d Fixes #94: Accessing app_label and model_name through content type rather than object.
As the object property is not always loaded by prefetch_related(), the `search_result_item` template tag will raise an AttributeError. But, as the object is essentially used for populating the string format params dict, it is possible to instead use the content type object (which appears to be available even when object is missing) for getting the `app_label` and `model_name` strings.

The only drawback is that the `obj` template variable may be `None` in some instances. It is not accessed in any standard tempaltes, and this issue would have caused an AttributeError earlier anyway.
2015-02-10 15:54:00 +01:00
src Fixes #94: Accessing app_label and model_name through content type rather than object. 2015-02-10 15:54:00 +01:00
.gitignore Attempting to fix issues with resolving nullable foreign keys. 2014-11-06 10:58:20 +00:00
.travis.yml Use travis' new build workers. 2014-12-29 22:45:54 +02:00
CHANGELOG.markdown Bumping for new release 2014-11-08 14:36:48 +00:00
LICENSE Adding in setup.py cruft. 2012-02-06 13:31:25 +00:00
MANIFEST.in Adding in setup.py cruft. 2012-02-06 13:31:25 +00:00
README.markdown Removing outdated blog link. 2012-02-29 10:08:38 +00:00
setup.py Bumping for new release 2014-11-08 14:36:48 +00:00

django-watson

django-watson is a fast multi-model full-text search plugin for Django.

It is easy to install and use, and provides high quality search results.

Features

  • Search across multiple models.
  • Order results by by relevance.
  • No need to install additional third-party modules or services.
  • Fast and scaleable enough for most use cases.

Documentation

Please read the Getting Started guide for more information.

Download instructions, bug reporting and links to full documentation can be found at the main project website.

You can keep up to date with the latest announcements by joining the django-watson discussion group.

More information

The django-watson project was developed by Dave Hall. You can get the code from the django-watson project site.

Dave Hall is a freelance web developer, based in Cambridge, UK. You can usually find him on the Internet in a number of different places: