Skip to content

Commit

Permalink
prepare 0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Jun 25, 2018
1 parent 0b227cb commit 40e0779
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.8.3
-----
2018-06-25

- It's possible to retrieve original dictionary from ``DictionaryProxy``
object.
- Added helper wrappers and helper functions as a temporary fix for issues
in the ``django-elasticsearch-dsl``.

0.8.2
-----
2018-06-05
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import find_packages, setup

version = '0.8.2'
version = '0.8.3'

DOCS_TRANSFORMATIONS = (
(
Expand Down
2 changes: 1 addition & 1 deletion src/django_elasticsearch_dsl_drf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

__title__ = 'django-elasticsearch-dsl-drf'
__version__ = '0.8.2'
__version__ = '0.8.3'
__author__ = 'Artur Barseghyan <[email protected]>'
__copyright__ = '2017-2018 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
Expand Down
7 changes: 7 additions & 0 deletions src/django_elasticsearch_dsl_drf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ def __getattr__(self, item):
if isinstance(val, datetime.datetime):
val = val.date()
return val

def to_dict(self):
"""To dict.
:return:
"""
return self.__mapping

0 comments on commit 40e0779

Please sign in to comment.