Commit graph

427 commits

Author SHA1 Message Date
Dave Hall
63b1986ea6
Merge pull request #267 from timgates42/bugfix_typo_this
docs: Fix simple typo, thie -> this
2020-03-09 20:35:04 +00:00
Tim Gates
e87324b466
docs: Fix simple typo, thie -> this
There is a small typo in watson/search.py.

Should read `this` rather than `thie`.
2020-03-10 05:53:33 +11:00
Dave Hall
195d706718 v1.5.4 2020-02-05 10:15:20 +00:00
Dave Hall
dbce0a66d7 Updated changelog 2020-02-05 10:15:01 +00:00
Dave Hall
93ac21c16b
Merge pull request #266 from biozz/master
Django 3 support
2020-02-04 10:40:09 +00:00
biozz
a2e0844664 bump python and django versions 2020-02-03 20:25:38 +03:00
Ivan Elfimov
fafda66869 remove unused variables from travis config 2020-02-03 15:39:52 +03:00
Ivan Elfimov
918590bd06 remove python_2_unicode_compatible from tests 2020-01-31 16:49:56 +03:00
Ivan Elfimov
35796c3154 change test matrix according to etianen/django-reversion 2020-01-31 16:41:04 +03:00
Ivan Elfimov
37298a8cdd Add django 3 support 2020-01-31 16:17:54 +03:00
Dave Hall
9be0fd13df Trying to fix pypi deploy 2019-11-01 12:51:56 +00:00
Dave Hall
f02ce7521e Trying to fix pypi deploy 2019-11-01 12:25:16 +00:00
Dave Hall
c325327804 Adding some test matrix exclusions 2019-11-01 11:07:14 +00:00
Dave Hall
585dbf7d82 Adding some test matrix exclusions 2019-11-01 10:48:27 +00:00
Dave Hall
bf5de0fd01 v1.5.3 2019-11-01 10:32:40 +00:00
Dave Hall
62cddee061 Adding more python versions to test matrix 2019-11-01 10:28:42 +00:00
Dave Hall
fc0774ddad
Merge pull request #261 from krukas/master
[BUGFIX] #255 Fixed MySQL tests failing mysql + admin context
2019-11-01 10:26:22 +00:00
Krukas
e39479cb78 [TASK] Fix flake8 error that regex is not marked as regex 2019-11-01 09:58:25 +01:00
Krukas
fd414aae45 [BUGFIX] #255 Fixed MySQL tests failing mysql + admin context
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.
37f8f29377/django/db/models/sql/query.py (L510)

Based on what django recomends for setting the sql_mode to https://docs.djangoproject.com/en/2.2/ref/databases/#setting-sql-mode.
And the recomandation from
https://code.djangoproject.com/ticket/15940#comment:10 to always explicitly set the sql_mode.

I have updated the test MySQL settings to set the sql_mode to STRICT_TRANS_TABLES
2019-11-01 09:49:49 +01:00
Dave Hall
ee652e3b33
Merge pull request #260 from krukas/master
[BUGFIX] Fixed buildwatson error with no admin installed
2019-10-31 09:30:49 +00:00
Krukas
ab62ec3266 [BUGFIX] Fixed buildwatson error with no admin installed
Buildwatson gives crashes on following error when admin is not
installed:

LookupError: No installed app with label 'admin'
2019-10-30 17:12:41 +01:00
Dave Hall
047007f455
Merge pull request #252 from moggers87/badge-fix
Point PyPI badge at correct project
2018-09-19 10:45:27 +01:00
Matt Molyneaux
cf24929928 Point PyPI badge at correct project 2018-09-18 21:20:53 +01:00
Dave Hall
348703e1da
Merge pull request #251 from moggers87/django-2.1
Test against Django 2.1
2018-09-18 19:54:08 +01:00
Matt Molyneaux
ae19c32312 Test against Django 2.1 2018-09-17 20:43:44 +01:00
Dave Hall
500a410f38
Merge pull request #245 from moggers87/remove-extra-use
Allow referencing `watson_rank` in annotations
2018-05-01 18:58:43 +01:00
Matt Molyneaux
4f68db0523 Backend fixes for using watson_rank in expressions
Referencing columns defined using `QuerySet.extra` does not make them
visible to expressions such as `Value`, `F`, or `When`, and Django docs
state that the `extra` method will get no further bug fixes.
2018-04-30 23:28:59 +01:00
Matt Molyneaux
6d9d03b5c0 Tests to demonstrate the bug 2018-04-30 23:28:59 +01:00
Dave Hall
7b8f3fca4f Fixing conditional deploy 2018-02-23 16:44:39 +00:00
Dave Hall
552bf087c4 1.5.2 2018-02-23 16:23:10 +00:00
Dave Hall
95b8a907d8 Updating changelog 2018-02-23 16:22:17 +00:00
Dave Hall
ba4a6af277 Adding support for Django 2.0 BigAutoField. Closes #238. 2018-02-20 11:01:46 +00:00
Dave Hall
b21fc06891
Merge pull request #236 from zandeez/master
Update foreign key references for Django 2.0.
2018-02-12 13:20:23 +00:00
Andrew Cassidy
927d762daf Update foreign key references for django 2.0. This change was made in Django core 3 years ago. 2018-02-12 11:20:47 +00:00
Dave Hall
e842988f18 v1.5.1 2018-02-09 16:52:56 +00:00
Dave Hall
3a1c2acb82 Updating changelog 2018-02-09 16:52:41 +00:00
Dave Hall
e80ab1926b
Merge pull request #234 from ryokamiya/master
Add app_name to be compatible with Django 2.
2018-02-07 09:34:40 +00:00
Ryoichiro Kamiya
d67c3b4363 Add app_name to be compatible with Django 2.
Namespace in urls.py is not sufficient since Django 2.
2018-02-02 16:19:16 +09:00
Dave Hall
9221dd7d5f Fixing deploy 2017-12-21 17:53:39 +00:00
Dave Hall
24cd0e609a Fixing deploy 2017-12-21 17:49:11 +00:00
Dave Hall
c1a527b39a Fixing deploy 2017-12-21 16:24:31 +00:00
Dave Hall
7af0f46d8c v1.5.0 2017-12-21 16:21:42 +00:00
Dave Hall
e92d942d60 Updating changelog 2017-12-21 16:21:11 +00:00
Dave Hall
ac90ba92b8 Trying to lose tox. It's been a right pain. 2017-12-21 16:08:28 +00:00
Dave Hall
c8fcb69099
Merge pull request #229 from dustinrb/non-atomic-batches
Non-atomic option for buildwatson
2017-12-07 08:47:04 +00:00
Dustin Broderick
0a8fe02844 Fixes issue with Flake8 linting 2017-12-06 11:42:57 -07:00
Dustin Broderick
1641b73d60 Renames non-atomic flag to non_atomic (to prevent flag being non) 2017-12-06 11:13:10 -07:00
Dustin Broderick
c3f00935ff Adds logic for non-atomic indexing 2017-12-06 10:38:20 -07:00
Dustin Broderick
92020f42f1 Adds non-atomic option to buildwatson 2017-12-06 09:58:43 -07:00
Dave Hall
d6084f7a90 Fixing filter() with a UUID field. Closes #227. 2017-12-06 16:51:57 +00:00