Skip to content

Commit 4b8ea04

Browse files
prepare 0.8.1
1 parent 883ba2b commit 4b8ea04

File tree

6 files changed

+20
-3
lines changed

6 files changed

+20
-3
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ are used for versioning (schema follows below):
1515
0.3.4 to 0.4).
1616
- All backwards incompatible changes are mentioned in this document.
1717

18+
0.8.1
19+
-----
20+
2018-06-05
21+
22+
- Fixed wrong filter name in functional suggesters results into an error on
23+
Django 1.10 (and prior).
24+
- Documentation improvements.
25+
1826
0.8
1927
---
2028
2018-06-01

docs/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ are used for versioning (schema follows below):
1515
0.3.4 to 0.4).
1616
- All backwards incompatible changes are mentioned in this document.
1717

18+
0.8.1
19+
-----
20+
2018-06-05
21+
22+
- Fixed wrong filter name in functional suggesters results into an error on
23+
Django 1.10 (and prior).
24+
- Documentation improvements.
25+
1826
0.8
1927
---
2028
2018-06-01

examples/simple/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@
396396

397397
DEBUG_TOOLBAR_CONFIG = {
398398
'INTERCEPT_REDIRECTS': False,
399+
'JQUERY_URL': STATIC_URL + 'js/vendor/jquery.js',
399400
}
400401

401402
DEBUG_TOOLBAR_PANELS = (

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import find_packages, setup
44

5-
version = '0.8'
5+
version = '0.8.1'
66

77
DOCS_TRANSFORMATIONS = (
88
(

src/django_elasticsearch_dsl_drf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55
__title__ = 'django-elasticsearch-dsl-drf'
6-
__version__ = '0.8'
6+
__version__ = '0.8.1'
77
__author__ = 'Artur Barseghyan <[email protected]>'
88
__copyright__ = '2017-2018 Artur Barseghyan'
99
__license__ = 'GPL 2.0/LGPL 2.1'

src/django_elasticsearch_dsl_drf/filter_backends/suggester/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def filter_queryset(self, request, queryset, view):
499499
# has no affect on other backends, since this only applies to
500500
# view.action == 'functional_suggest' case.
501501
if not applied:
502-
raise ValidationError()
502+
raise ValidationError(detail=None)
503503
# empty_queryset = EmptySearch()
504504
# empty_queryset._functional_suggest = True
505505
# return empty_queryset

0 commit comments

Comments
 (0)