The admin tests failed because of the following error:
(admin.E404) 'django.contrib.messages.context_processors.messages' must be enabled in DjangoTemplates (TEMPLATES) in order to use the admin application.
This is fixed by adding
'django.contrib.messages.context_processors.messages' tot the context_processors
The MySQL tests failed on the error:
django.db.utils.OperationalError: (1055, "Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test_test_project.watson_searchentry.title' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by")
After some diging this hapens because the qeuryset count uses an annotation/aggrogation.
|
||
|---|---|---|
| tests | ||
| watson | ||
| .coveragerc | ||
| .gitignore | ||
| .travis.yml | ||
| CHANGELOG.markdown | ||
| LICENSE | ||
| MANIFEST.in | ||
| README.markdown | ||
| setup.cfg | ||
| setup.py | ||
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 relevance.
- No need to install additional third-party modules or services.
- Fast and scaleable enough for most use cases.
- Supports Django 1.8+, Python 2.7+.
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.
Contributing
Bug reports, bug fixes, and new features are always welcome. Please raise issues on the django-watson github repository, and submit pull requests for any new code.
You can run the test suite yourself from within a virtual environment with the following commands.
pip install psycopg2 mysqlclient -e .
tests/runtests.py
tests/runtests.py -d psql
tests/runtests.py -d mysql
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: