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
Dustin Broderick
53c7012681
Merge branch 'master' of github.com:etianen/django-watson into working
2017-12-06 09:46:05 -07:00
Dave Hall
2f6ccc8bec
Merge pull request #226 from dustinrb/slim-indexing
...
"Slim" Indexing
2017-12-06 15:21:27 +00:00
Dustin Broderick
c187407932
Fixed whitepace linting issues
2017-11-29 09:27:11 -07:00
Dustin Broderick
c5cd52d227
Addesses linter issues
2017-11-29 09:25:44 -07:00
Dustin Broderick
1d293535b4
Adds missing paren
2017-11-28 14:33:58 -07:00
Dustin Broderick
c0ee2cef68
Merge branch 'batches' into working
2017-11-28 14:31:54 -07:00
Dustin Broderick
9da4d9300c
Merge branch 'slim-indexing' into working
2017-11-28 14:28:04 -07:00
Dustin Broderick
8fd2573747
Adds batch_size functionality to buildwatson
2017-11-28 14:22:55 -07:00
Dustin Broderick
ab65d162ee
Adds batch_size option to buildwatson
2017-11-28 14:19:06 -07:00
Dustin Broderick
0a9ccc4e2e
Adds functional 'slim' indexing
2017-11-28 13:42:36 -07:00
Dustin Broderick
5bb313971f
Adds 'slim' option to buildwatson
2017-11-28 13:40:54 -07:00
Dustin Broderick
3c6c342129
Removes atomic transaction for buildwatson
2017-11-28 12:58:57 -07:00
Dave Hall
2226de139b
Fixing flake8
2017-11-27 08:54:17 +00:00
Dave Hall
30fcd4f77a
Updating changelog
2017-11-27 08:53:13 +00:00