Commit graph

455 commits

Author SHA1 Message Date
Dave Hall
aaee81c9d4 v1.6.2 2022-02-20 16:58:22 +00:00
Dave Hall
c05267cca6
Merge pull request #294 from Shybert/django-4-compat
`url` -> `re_path`
2022-02-20 16:56:29 +00:00
Shybert
e1aa648a63 url -> re_path
Required for Django 4 compat
2022-02-13 15:35:26 +01:00
Dave Hall
8d181eb3e0 v1.6.1 2022-01-30 12:47:50 +00:00
Dave Hall
7a4771240e Updated changelog 2022-01-30 12:47:09 +00:00
Dave Hall
b3c9ce5931
Merge pull request #293 from CristopherH95/master
Add handling for RelatedField pk types
2022-01-30 12:36:28 +00:00
Cristopher Hernandez
1257eeaed3 Drop Django 1.11 in matrix 2022-01-22 23:07:10 -08:00
Cristopher Hernandez
f5026f6e07 Add handling for RelatedField pk types 2022-01-07 19:20:03 -08:00
Dave Hall
077c336dd4 v1.6.0 2021-11-03 15:17:12 +00:00
Dave Hall
afec6332d0 Updated changelog 2021-11-03 15:16:52 +00:00
Dave Hall
e6af0d3fdc Added new python publish workflow 2021-11-03 15:13:27 +00:00
Dave Hall
0e9b33fed6
Merge pull request #289 from amureki/remove_travis_traces
Remove last traces of Travis CI
2021-10-28 12:54:33 +01:00
Rustem Saiargaliev
95dab01011 Remove last traces of Travis CI 2021-10-28 14:48:58 +03:00
Dave Hall
e75f110acd
Merge pull request #288 from CristopherH95/master
Remove deleted objects when rebuilding index
2021-10-26 10:20:08 +01:00
Cristopher Hernandez
4277f7333c Fix database casting issue 2021-10-25 18:29:01 -07:00
Cristopher Hernandez
afc990e6e5 Fix type casting issue in deleted entries query 2021-10-24 18:08:05 -07:00
Cristopher Hernandez
eb128ceb84 Cast object id lookup to pk field type 2021-10-24 16:54:29 -07:00
Cristopher Hernandez
a4636dd38c Remove unused import 2021-10-24 16:32:58 -07:00
Cristopher Hernandez
3177efd4d6 Correct comment in search.py 2021-10-24 16:29:17 -07:00
Cristopher Hernandez
1476d123ba Tweak comments 2021-10-24 16:25:27 -07:00
Cristopher Hernandez
3a69bea8f3 Add cleanup for deleted object entries in buildwatson 2021-10-24 16:24:22 -07:00
Dave Hall
6e94b3879b
Merge pull request #287 from CristopherH95/master
Add AppConfig with default_auto_field set
2021-10-17 12:30:28 +01:00
Cristopher Hernandez
4d47aef2b9 Add AppConfig with default_auto_field set 2021-10-16 11:19:35 -07:00
Dave Hall
9e874d0b25
Merge pull request #283 from Hopiu/master
Added possibility to run tests through Github Actions.
2021-07-26 10:08:19 +01:00
Benedikt Willi
aca2511da5 Added possibility to run tests through Github Actions. 2021-07-22 12:05:32 +02:00
Dave Hall
5bc4ff465b v1.5.5 2020-03-30 10:08:58 +01:00
Dave Hall
b5f468c12b
Merge pull request #270 from henrikhorluck/fix/django3.0-force_text_deprecation
Change deprecated force_text -> force_str
2020-03-30 10:01:34 +01:00
Henrik Hørlück Berg
24c69ff57c
Change deprecated force_text -> force_str 2020-03-29 12:17:35 +02:00
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