Commit graph

57 commits

Author SHA1 Message Date
Cristopher Hernandez
3a69bea8f3 Add cleanup for deleted object entries in buildwatson 2021-10-24 16:24:22 -07:00
Cristopher Hernandez
4d47aef2b9 Add AppConfig with default_auto_field set 2021-10-16 11:19:35 -07:00
Dave Hall
5bc4ff465b v1.5.5 2020-03-30 10:08:58 +01:00
Henrik Hørlück Berg
24c69ff57c
Change deprecated force_text -> force_str 2020-03-29 12:17:35 +02: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
Ivan Elfimov
37298a8cdd Add django 3 support 2020-01-31 16:17:54 +03:00
Dave Hall
bf5de0fd01 v1.5.3 2019-11-01 10:32:40 +00:00
Krukas
e39479cb78 [TASK] Fix flake8 error that regex is not marked as regex 2019-11-01 09:58:25 +01: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
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
Dave Hall
552bf087c4 1.5.2 2018-02-23 16:23:10 +00:00
Dave Hall
ba4a6af277 Adding support for Django 2.0 BigAutoField. Closes #238. 2018-02-20 11:01:46 +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
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
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
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
Daniel Quinn
fcfe6eae6d Support stringifying objects in both Python 2 & 3
Without this fix, a Python3-based admin will simply show `Search object`
instead of `self.title`.
2017-11-23 14:06:52 +00:00
Dave Hall
f0383241e3 v1.4.3 2017-09-28 11:30:34 +01:00
Dave Hall
7b35ba0c76 Fixing escaping of <> characters in postgres. Closes #219 2017-09-27 10:24:45 +01:00
Dave Hall
11784a5cc7 v1.4.2 2017-09-22 12:27:42 +01:00
Dave Hall
055b7d1e92 Fixing caching for default search backend 2017-09-22 12:22:20 +01:00
Dave Hall
22c36d7d47 v1.4.1 2017-08-22 14:08:52 +01:00
Dave Hall
10c2051f7b Merge branch 'master' of github.com:etianen/django-watson 2017-08-22 13:55:13 +01:00
Dave Hall
2fd2bb66c0 Allowing joins to UUID columns in search(). Refs #214 2017-08-22 13:55:00 +01:00
Antoine Lorence
967a049985 Fix coding style issue
This should remove PEP8 issues introduced with last commit and reported by Flake8
2017-07-22 13:43:29 +02:00
Antoine Lorence
f5e173e1a2 Set on_delete=CASCADE for ForeignKey model fields
This is the default behavior, but since on_delete argument will be required in Django 2.0, and a warning is thrown in recent versions of Django when the attribute is missing, it's better to set it in code. In addition, "explicit is better than implicit"
2017-07-22 12:46:36 +02:00
Dave Hall
fa2ebaec13 v1.4.0 2017-07-07 10:23:34 +01:00
Matt Molyneaux
b0435d0b72 Flatten context for render_to_string
This is now required for Django 1.11
2017-06-13 12:36:39 +01:00
Unai Zalakain
ba2f9d1341 Fix #188: Get rid of the workaround for django's __in bug
Related bug: https://code.djangoproject.com/ticket/15145
2017-05-01 23:08:30 +02:00
sorokins
3f589b361c Simplify 635192fa4c 2017-04-13 15:08:41 +03:00