Skip to content

Commit 40e0779

Browse files
prepare 0.8.3
1 parent 0b227cb commit 40e0779

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ 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.3
19+
-----
20+
2018-06-25
21+
22+
- It's possible to retrieve original dictionary from ``DictionaryProxy``
23+
object.
24+
- Added helper wrappers and helper functions as a temporary fix for issues
25+
in the ``django-elasticsearch-dsl``.
26+
1827
0.8.2
1928
-----
2029
2018-06-05

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.2'
5+
version = '0.8.3'
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.2'
6+
__version__ = '0.8.3'
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/utils.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@ def __getattr__(self, item):
5454
if isinstance(val, datetime.datetime):
5555
val = val.date()
5656
return val
57+
58+
def to_dict(self):
59+
"""To dict.
60+
61+
:return:
62+
"""
63+
return self.__mapping

0 commit comments

Comments
 (0)