Skip to content

Commit 07caae3

Browse files
authored
Merge pull request #116 from ambitioninc/chore/release-notes
release notes and a comment change
2 parents 4467a00 + 477e58f commit 07caae3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/release_notes.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Release Notes
33

44
v3.0.2
55
------
6-
* Add `json_cursor` to handle django no longer automatically parsing json fields
6+
* Add `json_cursor` context to handle Django3.1.1+ no longer automatically parsing json fields
7+
* Adjusted query functionality also to handle jsonb columns correctly
78

89
v3.0.1
910
------

querybuilder/query.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ def get_cursor(self):
642642
:returns: A database cursor
643643
"""
644644

645-
# From Django 3.1 forward, json columns in raw select statements return a string of json instead of a
645+
# From Django 3.1.1 forward, json columns in raw select statements return a string of json instead of a
646646
# json type such as a dict or list. But we can tell psycopg2 to put the
647647
# json.loads() call back in place. Technically we would only need this addition for cursors being used
648648
# for a SELECT, but it should not cause any issues for other operations.

0 commit comments

Comments
 (0)